You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -38,11 +39,20 @@ class LaunchpadExeInstaller extends InstallerBase {
38
39
result := super.Install(progress)
39
40
40
41
if (this.movedApp) {
42
+
createShortcut := MsgBox("Launchpad.exe has been installed to " . this.scriptDir . ". Would you like to create a desktop shortcut?", "Launchpad Install Shortcut", "YesNo")
43
+
44
+
if (createShortcut) {
45
+
FileCreateShortcut(this.scriptDir . "\Launchpad.exe", A_Desktop . "\Launchpad.lnk", this.scriptDir, "", "Manage and build game launchers", this.scriptDir . "\Launchpad.exe")
46
+
}
47
+
48
+
MsgBox("Initial installation finished. Please run Launchpad from the installation folder to complete the setup process.")
41
49
; @todo Notify user that the app is going to restart before continuing
42
50
; @todo schedule the new Launchpad.exe to start after a couple of seconds
43
51
ExitApp0
44
52
}
45
53
54
+
; offer to create a desktop shortcut
55
+
46
56
return result
47
57
}
48
58
@@ -61,7 +71,16 @@ class LaunchpadExeInstaller extends InstallerBase {
61
71
}
62
72
63
73
PromptForInstallDir() {
64
-
return DirSelect("*" . this.scriptDir, 3, "Select the folder to install Launchpad to.")
74
+
inCorrectDir := MsgBox("Would you like to install Launchpad.exe to the current folder? Clicking No will allow you to choose a different folder.", "Launchpad Install Folder", "YesNo")
75
+
76
+
dir := this.scriptDir
77
+
78
+
79
+
if (inCorrectDir == "No") {
80
+
dir := DirSelect("*" . this.scriptDir, 3, "Select the folder you would like to install Launchpad to.")
Copy file name to clipboardExpand all lines: Lib/Launchpad/Service/LauncherManager.ahk
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,9 @@ class LauncherManager extends ServiceBase {
66
66
}
67
67
68
68
SelectLauncherFile(existingFile := "") {
69
-
return FileSelect(3, existingFile, "Select the Launchers file to use", "JSON Documents (*.json)")
69
+
MsgBox("Launchpad uses a Launcher File to keep a list of games and settings for your launchers. The file is in JSON format and can be edited by hand or through the Launcher Manager in Launchpad.`n`nIf you have an existing Launcher File, select it on the following screen. If you want to create a new one, browse to the folder you would like and type in a new .json filename to use.", "Launchpad Launcher File", "OK")
70
+
return FileSelect(3, existingFile, "Select the or create the Launcher File you would like Launchpad to use.", "JSON Documents (*.json)")
71
+
; @todo Improve the UI of this selector
70
72
}
71
73
72
74
OpenLauncherFile() {
@@ -100,6 +102,8 @@ class LauncherManager extends ServiceBase {
100
102
}
101
103
102
104
SelectDestinationDir(existingDir := "") {
105
+
MsgBox("Launchpad creates .exe files for each of the launchers you define in your Launcher File.`n`nOn the following dialog, select the destination directory that Launchpad should create your launchers within.", "Launchpad Destination Dir", "OK")
106
+
103
107
if (existingDir != "") {
104
108
existingDir := "*" . existingDir
105
109
}
@@ -124,6 +128,8 @@ class LauncherManager extends ServiceBase {
124
128
}
125
129
126
130
ChangeAssetsDir(assetsDir := "") {
131
+
MsgBox("Launchpad both creates and uses other files when building and/or running your launchers. These files are known as Assets, and they are stored in a separate directory for each launcher you create.`n`nOn the following dialog, select the parent directory that Launchpad should create launcher assets within.", "Launchpad Assets Dir", "OK")
0 commit comments