Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- Home:
- Gui, Home:Add, Text, x10 y10 w315 h60, Welcome to Sponge installer, This is made by Skrill_Craft to make it possible to download Sponge Forge and Sponge Vanilla whitout going to the site,
- Gui, Home:Add, Text, x20 y85 w300 h25, Please select either you want Sponge Vanilla or Sponge Forge
- Gui, Home:Add, DropDownList, x20 y115 w120 h100 vSponge gGuiHomeSubmit Choose1, Sponge Vanilla|Sponge Forge
- Gui, Home:Add, Button, x245 y245 w43 h23 gGuiHomeSubmit, Next
- Gui, Home:Add, Button, x290 y245 w43 h23 gHomeGuiClose, Close
- Gui, Home:Show, w336 h271, Sponge Installer
- return
- HomeGuiClose:
- ExitApp
- GuiHomeSubmit:
- Gui, Home:Submit, NoHide
- if Sponge = Sponge Vanilla
- {
- Gui, Home:Add, DropDownList, x20 y165 w285 h100 vSpongeVanilla Choose1, 1.10.2-5.2.0-BETA-391 [Stable] [Latest]|1.10.2-5.2.0-BETA-390 [Stable]|
- Gui, Home:Add, Text, x20 y145 w170 h15, Please Select a version:
- }
- else
- {
- Gui, Home:Add, DropDownList, x20 y165 w285 h100 vSpongeForge Choose1, 1.11.2-2393-6.1.0-BETA-2471 [Stable][Forge Version: 2393][Latest]
- Gui, Home:Add, Text, x20 y145 w170 h15, Please Select a version:
- }
- return
- SpongeVanilla:
- Gui, SpongeVanilla:Add, Text, x15 y15 w295 h20, Please select the version of Sponge Vanilla you want to install
- Gui, Home:Add, DropDownList, x15 y40 w235 h100 vSpongeVanilla Choose1, 1.10.2-5.2.0-BETA-391 [Stable] [Latest]|1.10.2-5.2.0-BETA-390 [Stable]|
- Gui, SpongeVanilla:Add, Edit, x15 y175 w245 h25,
- Gui, SpongeVanilla:Add, Text, x15 y150 w255 h25, Please select the location you want it to be installed
- Gui, SpongeVanilla:Add, Button, x260 y175 w30 h25, ....
- Gui, SpongeVanilla:Add, Button, x290 y245 w43 h23 gSpongeVanillaGuiClose , Close
- Gui, SpongeVanilla:Add, Button, x245 y245 w43 h23, Next
- Gui, SpongeVanilla:Show, w336 h271, Sponge Vanilla Installer
- return
- SpongeVanillaGuiClose:
- ExitApp
- SpongeForge:
- Gui, SpongeForge:Add, Text, x15 y15 w295 h20, Please select the version of Sponge Forge you want to install
- Gui, SpongeForge:Add, DropDownList, x15 y40 w300 h21 vSpongeForge Choose1, 1.11.2-2393-6.1.0-BETA-2471 [Stable][Forge Version: 2393][Latest]
- Gui, SpongeForge:Add, Edit, x15 y175 w245 h25,
- Gui, SpongeForge:Add, Text, x15 y150 w255 h25, Please select the location you want it to be installed
- Gui, SpongeForge:Add, Button, x260 y175 w30 h25, ....
- Gui, SpongeForge:Add, Button, x290 y245 w43 h23 gSpongeForgeGuiClose, Close
- Gui, SpongeForge:Add, Button, x245 y245 w43 h23, Next
- Gui, SpongeForge:Show, w336 h271, Sponge Forge Installer
- return
- SpongeForgeGuiClose:
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement