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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View File

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

View File

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

View File

@ -229,7 +229,7 @@ export default class Downloads extends React.Component<IProps, IState> {
</BigButton>
</div>
</div>
<div className="DownloadMenuSection" id="downloadMenuContainerGCStable">
{/* <div className="DownloadMenuSection" id="downloadMenuContainerGCStable">
<div className="DownloadLabel" id="downloadMenuLabelGCStable">
<Tr
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" />
</BigButton>
</div>
</div>
</div> */}
<div className="DownloadMenuSection" id="downloadMenuContainerGCDev">
<div className="DownloadLabel" id="downloadMenuLabelGCDev">
<Tr
@ -266,7 +266,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Divider />
<div className="DownloadMenuSection" id="downloadMenuContainerGCStableData">
{/* <div className="DownloadMenuSection" id="downloadMenuContainerGCStableData">
<div className="DownloadLabel" id="downloadMenuLabelGCStableData">
<Tr
text={
@ -286,7 +286,7 @@ export default class Downloads extends React.Component<IProps, IState> {
<Tr text="components.download" />
</BigButton>
</div>
</div>
</div> */}
<div className="DownloadMenuSection" id="downloadMenuContainerGCDevData">
<div className="DownloadLabel" id="downloadMenuLabelGCDevData">
<Tr