Skip to content

Commit 16250f0

Browse files
1.0.0.0
1 parent 111b3a3 commit 16250f0

File tree

5 files changed

+114
-2
lines changed

5 files changed

+114
-2
lines changed

Settings/CURRENT.OPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Steam

Settings/Settings.bat

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@ECHO OFF
2+
:Welcome
3+
type %MYFILES%\Header.txt
4+
set /p op=<CURRENT.OPTION
5+
if "%op%"=="Steam" goto Steam
6+
if "%op%"=="Playnite-Splash" goto Playnite-Splash
7+
if "%op%"=="Playnite" goto Playnite
8+
if "%op%"=="Custom" goto Custom
9+
10+
:Steam
11+
CLS
12+
Call %MYFILES%\Steam-Settings.bat
13+
GOTO end
14+
15+
:Playnite-Splash
16+
CLS
17+
Call %MYFILES%\Playnite-Splash-Settings.bat
18+
GOTO end
19+
20+
:Playnite
21+
CLS
22+
Call %MYFILES%\Playnite-Settings.bat
23+
GOTO end
24+
25+
:custom
26+
CLS
27+
Call %MYFILES%\Custom-Settings.bat
28+
GOTO end
29+
30+
:end
31+
Exit

Settings/Steam-Settings.bat

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
@ECHO OFF
2+
:Start
3+
type %MYFILES%\Header.txt
4+
ECHO.
5+
ECHO.
6+
ECHO Steam settings
7+
ECHO.
8+
ECHO 1. Steam Location
9+
type C:\Motion-Shell\Steam\STEAM.LOCATION
10+
ECHO.
11+
ECHO 2. Closing action
12+
type C:\Motion-Shell\Steam\CLOSED.LOCATION
13+
ECHO.
14+
ECHO 3. Set as current shell
15+
ECHO 4. Install another module
16+
ECHO 5. Exit
17+
ECHO.
18+
ECHO.
19+
set /p op=Please select:
20+
if "%op%"=="1" goto Steam-Location
21+
if "%op%"=="2" goto Closing
22+
if "%op%"=="3" goto Set-Shell
23+
if "%op%"=="4" goto Module
24+
if "%op%"=="5" goto end
25+
26+
:Steam-Location
27+
CLS
28+
type %MYFILES%\Header.txt
29+
ECHO.
30+
ECHO.
31+
ECHO Please select your Steam.exe
32+
rem BrowseFiles
33+
ECHO|set /p=%result%>STEAM.LOCATION
34+
goto Start
35+
36+
:Closing
37+
CLS
38+
type %MYFILES%\Header.txt
39+
ECHO.
40+
ECHO.
41+
42+
ECHO 1. Launch Windows Shell (default)
43+
ECHO 2. Logout (recommened)
44+
ECHO 3. Launch custom program
45+
46+
set /p EXITop=Select what you would like to happen when you close Steam:
47+
48+
if "%EXITop%"=="1" goto EXITop1
49+
if "%EXITop%"=="2" goto EXITop2
50+
if "%EXITop%"=="3" goto EXITop3
51+
52+
:EXITop1
53+
SET "EXITaction=explorer.exe"
54+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
55+
goto Start
56+
57+
:EXITop2
58+
SET "EXITaction=Shutdown -l"
59+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
60+
goto Start
61+
62+
:EXITop3
63+
ECHO Please select the program you would like to be run at when steam is closed (if you would like to add launch paramaters you can open the CLOSED.LOCATION file using notepad)
64+
rem BrowseFiles
65+
ECHO|set /p=%result%>CLOSED.LOCATION
66+
goto Start
67+
68+
:Set-Shell
69+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\Motion-Shell\Steam\Motion-Shell.exe" /f
70+
goto Start
71+
72+
73+
:Module
74+
Start C:\Motion-Shell\Motion-Settings.exe
75+
goto end
76+
77+
78+
79+
:end
80+
Exit

Setup/Header.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ $$ |\$ /$$ |$$ | $$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$\ $$ |$$ | $
77
$$ | \_/ $$ |\$$$$$$ | \$$$$ |$$ |\$$$$$$ |$$ | $$ | \$$$$$$ |$$ | $$ |\$$$$$$$\ $$ |$$ |
88
\__| \__| \______/ \____/ \__| \______/ \__| \__| \______/ \__| \__| \_______|\__|\__|
99

10-
Version 1.0.0.0 Beta 4
10+
Version 1.0.0.0

Setup/Welcome.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $$ |\$ /$$ |$$ | $$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$\ $$ |$$ | $
77
$$ | \_/ $$ |\$$$$$$ | \$$$$ |$$ |\$$$$$$ |$$ | $$ | \$$$$$$ |$$ | $$ |\$$$$$$$\ $$ |$$ |
88
\__| \__| \______/ \____/ \__| \______/ \__| \__| \______/ \__| \__| \_______|\__|\__|
99

10-
Version 1.0.0.0 Beta 4
10+
Version 1.0.0.0
1111

1212
Thank you for choosing to use Motion Shell, please take a few moments to read the following:
1313

0 commit comments

Comments
 (0)