Fix dialog for longterm version

This commit is contained in:
daleclack 2021-11-11 18:00:27 +08:00
parent dd87c28f8c
commit 117ecf438b
3 changed files with 3 additions and 9 deletions

View File

@ -85,7 +85,7 @@
"compilerArgs": [ "compilerArgs": [
"`pkg-config --cflags --libs gtkmm-3.0`" "`pkg-config --cflags --libs gtkmm-3.0`"
], ],
"configurationProvider": "ms-vscode.cmake-tools" "configurationProvider": "${workspaceFolder}/builddir/compile_commands.json"
}, },
{ {
"name": "win32", "name": "win32",

View File

@ -131,10 +131,10 @@ void MyWin::main_releases(){
if(readCfgFile("xe_config","Longterm",ver)){ if(readCfgFile("xe_config","Longterm",ver)){
longterm(local,ver.c_str(),str); longterm(local,ver.c_str(),str);
msg_dialog.Init(str); msg_dialog.Init(str);
msg_dialog.present(); msg_dialog.show_all();
}else{ }else{
msg_dialog.Init("The config doesn't exist!\nPlease use \"Config\" menu to set releases"); msg_dialog.Init("The config doesn't exist!\nPlease use \"Config\" menu to set releases");
msg_dialog.present(); msg_dialog.show_all();
} }
break; break;
case Releases::Stable: case Releases::Stable:

View File

@ -1,6 +0,0 @@
This is the config file of Xe Release
See more on github.com/daleclack/Xe-Release
Longterm=default_config
Stable=default_config
Develop=default_config