Skip to content

Commit 4bfbf11

Browse files
0.1.0
1 parent 4c6bd9e commit 4bfbf11

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Motion-Shell.zip

34.2 KB
Binary file not shown.

Playnite-NSV - BAT.BAT

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ copy .\Files\Playnite-NSV\Windows-Shell.exe %temp%\Motion-Shell
1313
copy .\Files\Playnite-NSV\Default-Config-Script.ps1 %temp%\Motion-Shell
1414
copy .\Files\Playnite-NSV\Portable-Config-Script.ps1 %temp%\Motion-Shell
1515
copy .\Files\Playnite-NSV\PLAYNITE.LOCATION %temp%\Motion-Shell
16-
copy .\Files\txt\Header.txt %temp%\Motion-Shell
16+
copy .\txt\Header.txt %temp%\Motion-Shell
1717

1818
@ECHO OFF
1919
rem Creating folders and copying required files from temp
@@ -39,7 +39,7 @@ ECHO Set your playnite installation location
3939
ECHO.
4040
ECHO By default this is C:\Users\%USERNAME%\AppData\Local\Playnite but may be different if you selected to change location or used the portable install option during setup.
4141
ECHO Please do not use quotation marks ("")
42-
Set /p Playniteloc=Enter your playnite installation location:
42+
Set /p result=Enter your playnite installation location:
4343
ECHO|set /p=%result%>Playnite.LOCATION
4444
ECHO Playnite install folder set to: %result%
4545
ECHO.
@@ -60,8 +60,12 @@ set /p PLAYNITE=<PLAYNITE.LOCATION
6060

6161
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE%\Playnite.FullscreenApp.exe" /f
6262

63-
IF "%Installtype%="Default" goto Defaultinst
64-
IF "%Installtype%="Portable" goto Portableinst
63+
ECHO Select the number of the option that applys to you
64+
ECHO 1 Default installation
65+
ECHO 2 Portable Installation
66+
set /p Installtype=Please select your install type:
67+
IF "%Installtype%"=="1" goto Defaultinst
68+
IF "%Installtype%"=="2" goto Portableinst
6569

6670
:Defaultinst
6771
powershell.exe -noprofile -executionpolicy bypass -file %temp%\Motion-Shell\Default-config-Script.ps1
@@ -90,7 +94,7 @@ goto complete
9094

9195
:complete
9296
rem removing temp folder and offering for user to logout.
93-
RMDIR /S /Q %temp%\Motion-Shell
97+
RMDIR /s /q %temp%\Motion-Shell
9498
ECHO Would you like to logout now to use the new shell?
9599
set /p logoutop=Y/N:
96100
IF "%logoutop%"=="Y" goto logout

0 commit comments

Comments
 (0)