Small fixes

Remove stable download buttons
This commit is contained in:
Thoronium
2023-02-25 18:37:36 -07:00
committed by GitHub
parent 7831bd48dc
commit 3848c39743
3 changed files with 6 additions and 7 deletions

View File

@@ -95,7 +95,6 @@ pub fn install_location() -> String {
#[tauri::command] #[tauri::command]
pub fn set_migoto_target(path: String, migoto_path: String) -> bool { pub fn set_migoto_target(path: String, migoto_path: String) -> bool {
let pathbuf = PathBuf::from(path);
let mut migoto_pathbuf = PathBuf::from(migoto_path); let mut migoto_pathbuf = PathBuf::from(migoto_path);
migoto_pathbuf.pop(); migoto_pathbuf.pop();

View File

@@ -7,7 +7,7 @@
}, },
"package": { "package": {
"productName": "Cultivation", "productName": "Cultivation",
"version": "1.0.11-Thorny" "version": "1.0.20"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {
@@ -69,7 +69,7 @@
"fullscreen": false, "fullscreen": false,
"height": 730, "height": 730,
"resizable": true, "resizable": true,
"title": "Cultivation", "title": "Cultivation: Thorny Edition",
"width": 1280, "width": 1280,
"decorations": false "decorations": false
} }

View File

@@ -229,7 +229,7 @@ export default class Downloads extends React.Component<IProps, IState> {
</BigButton> </BigButton>
</div> </div>
</div> </div>
<div className="DownloadMenuSection" id="downloadMenuContainerGCStable"> {/* <div className="DownloadMenuSection" id="downloadMenuContainerGCStable">
<div className="DownloadLabel" id="downloadMenuLabelGCStable"> <div className="DownloadLabel" id="downloadMenuLabelGCStable">
<Tr <Tr
text={this.state.grasscutter_set ? 'downloads.grasscutter_stable' : 'downloads.grasscutter_stable_update'} text={this.state.grasscutter_set ? 'downloads.grasscutter_stable' : 'downloads.grasscutter_stable_update'}
@@ -245,7 +245,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Tr text="components.download" /> <Tr text="components.download" />
</BigButton> </BigButton>
</div> </div>
</div> </div> */}
<div className="DownloadMenuSection" id="downloadMenuContainerGCDev"> <div className="DownloadMenuSection" id="downloadMenuContainerGCDev">
<div className="DownloadLabel" id="downloadMenuLabelGCDev"> <div className="DownloadLabel" id="downloadMenuLabelGCDev">
<Tr <Tr
@@ -266,7 +266,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Divider /> <Divider />
<div className="DownloadMenuSection" id="downloadMenuContainerGCStableData"> {/* <div className="DownloadMenuSection" id="downloadMenuContainerGCStableData">
<div className="DownloadLabel" id="downloadMenuLabelGCStableData"> <div className="DownloadLabel" id="downloadMenuLabelGCStableData">
<Tr <Tr
text={ text={
@@ -286,7 +286,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Tr text="components.download" /> <Tr text="components.download" />
</BigButton> </BigButton>
</div> </div>
</div> </div> */}
<div className="DownloadMenuSection" id="downloadMenuContainerGCDevData"> <div className="DownloadMenuSection" id="downloadMenuContainerGCDevData">
<div className="DownloadLabel" id="downloadMenuLabelGCDevData"> <div className="DownloadLabel" id="downloadMenuLabelGCDevData">
<Tr <Tr