This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Launch] | ||
ProgramExecutable=PLUpdater\mainrun.bat | ||
WorkingDirectory=%PAL:DataDir% | ||
DirectoryMoveOK=yes | ||
SupportsUNC=yes |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[Format] | ||
Type=PortableApps.comFormat | ||
Version=3.3 | ||
|
||
[Details] | ||
Name=Pikakid98 Launcher Updater | ||
AppID=PLUpdater | ||
Publisher=Pikakid98 | ||
Homepage=https://pikakid98.github.io | ||
Category=Games | ||
Description=Pikakid98 Launcher Updater | ||
Language=English | ||
|
||
[License] | ||
Shareable=true | ||
OpenSource=true | ||
Freeware=true | ||
CommercialUse=true | ||
|
||
[Version] | ||
PackageVersion=2.0 | ||
DisplayVersion=2.0 | ||
|
||
[Control] | ||
Icons=1 | ||
Start=PLUpdater.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5.1") | ||
|
||
URL = "https://github.com/pikakid98/pikakid98-launcher/releases/latest/download/Pikakid98.Launcher.exe" | ||
objWinHttp.open "GET", URL, False | ||
objWinHttp.send "" | ||
|
||
SaveBinaryData "Launcher\Pikakid98.Launcher.exe",objWinHttp.responseBody | ||
|
||
Function SaveBinaryData(FileName, Data) | ||
|
||
' adTypeText for binary = 1 | ||
Const adTypeText = 1 | ||
Const adSaveCreateOverWrite = 2 | ||
|
||
' Create Stream object | ||
Dim BinaryStream | ||
Set BinaryStream = CreateObject("ADODB.Stream") | ||
|
||
' Specify stream type - we want To save Data/string data. | ||
BinaryStream.Type = adTypeText | ||
|
||
' Open the stream And write binary data To the object | ||
BinaryStream.Open | ||
BinaryStream.Write Data | ||
|
||
' Save binary data To disk | ||
BinaryStream.SaveToFile FileName, adSaveCreateOverWrite | ||
|
||
End Function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5.1") | ||
|
||
URL = "https://github.com/pikakid98/pikakid98-launcher-data/releases/download/data/Launcher-2.bat" | ||
objWinHttp.open "GET", URL, False | ||
objWinHttp.send "" | ||
|
||
SaveBinaryData "Launcher-2.bat",objWinHttp.responseBody | ||
|
||
Function SaveBinaryData(FileName, Data) | ||
|
||
' adTypeText for binary = 1 | ||
Const adTypeText = 1 | ||
Const adSaveCreateOverWrite = 2 | ||
|
||
' Create Stream object | ||
Dim BinaryStream | ||
Set BinaryStream = CreateObject("ADODB.Stream") | ||
|
||
' Specify stream type - we want To save Data/string data. | ||
BinaryStream.Type = adTypeText | ||
|
||
' Open the stream And write binary data To the object | ||
BinaryStream.Open | ||
BinaryStream.Write Data | ||
|
||
' Save binary data To disk | ||
BinaryStream.SaveToFile FileName, adSaveCreateOverWrite | ||
|
||
End Function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@ECHO OFF | ||
START "" "..\App\PLUpdater\silent.vbs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@ECHO OFF | ||
START "" "..\App\PLUpdater\dl.vbs" | ||
timeout 2 | ||
START "" "..\App\PLUpdater\silent-latest.vbs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Set objShell = WScript.CreateObject("WScript.Shell") | ||
objShell.Run "cmd /c Launcher-2.bat", 0, True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Set objShell = WScript.CreateObject("WScript.Shell") | ||
objShell.Run "cmd /c ..\App\PLUpdater\run.bat", 0, True |