build windows install

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-10-11 14:52:46 +08:00
parent 2ced73cdda
commit e2924f0d41
6 changed files with 74 additions and 26 deletions

View File

@@ -181,9 +181,9 @@ class _InstallPageState extends State<InstallPage> with WindowListener {
void install() {
btnEnabled.value = false;
showProgress.value = true;
String args = '';
if (startmenu.value) args += 'startmenu ';
if (desktopicon.value) args += 'desktopicon ';
String args = '--flutter';
if (startmenu.value) args += ' startmenu';
if (desktopicon.value) args += ' desktopicon';
bind.installInstallMe(options: args, path: controller.text);
}