@@ -121,7 +121,6 @@ If !fileexist(settings)
121
121
IniWrite , 4 , %settings%, Settings, numdesks
122
122
IniWrite , ! , %settings%, Settings, switchMod
123
123
IniWrite , ^! , %settings%, Settings, sendmod
124
- IniWrite , 0 , %settings%, Settings, crash
125
124
IniWrite , %a_space %, %settings%, Settings, windowsOnAll
126
125
IniWrite , 1 , %settings%, Settings, desktopcircle
127
126
}
@@ -132,7 +131,6 @@ IniRead , prevhotkey, %settings%, Settings, switchprev, ^#LEFT
132
131
IniRead , numDesktops, %settings%, Settings, numdesks, 4
133
132
IniRead , switchModifier, %settings%, Settings, switchmod, !
134
133
IniRead , sendModifier, %settings%, Settings, sendmod, ^!
135
- IniRead , crash, %settings%, Settings, crash
136
134
IniRead , windowsOnAll, %settings%, Settings, windowsOnAll
137
135
IniRead , desktopcircle, %settings%, Settings, desktopcircle
138
136
@@ -149,41 +147,6 @@ SysGet, VirtualScreenHeight, 79
149
147
SysGet , MonitorCount, MonitorCount
150
148
151
149
152
-
153
-
154
-
155
- If crash
156
- {
157
- MsgBox , 4 , , mDesktop crashed. Would you like to restore lost windows?
158
-
159
- IfMsgBox yes
160
- {
161
- FileRead , oldwindows, crash.dat
162
- Loop , Parse , oldwindows, |
163
- {
164
- winshow , ahk_id %A_LoopField %
165
- }
166
- }
167
-
168
- }
169
-
170
-
171
-
172
-
173
-
174
- filedelete , crash.dat
175
-
176
- WinGet , backup, List ,,, Program Manager
177
-
178
- Loop , %backup%
179
- {
180
- id := backup%A_Index %
181
- fileappend ,%id %| , crash.dat
182
- }
183
- FileSetAttrib , + h , crash.dat
184
- IniWrite , 1 , %settings%, Settings, crash
185
- crash=1
186
-
187
150
IniRead , runatstartup, %settings%, Settings, runatstartup, 0
188
151
Loop %numDesktops%
189
152
{
@@ -1596,8 +1559,6 @@ return
1596
1559
1597
1560
CleanUp :
1598
1561
; IniWrite , %hidinglevel%, %settings%, Settings, level
1599
- IniWrite , 0 , %settings%, Settings, crash
1600
- filedelete , crash.dat
1601
1562
Loop , %numDesktops%
1602
1563
{
1603
1564
if desktopswitcher
@@ -1628,7 +1589,7 @@ CleanUp:
1628
1589
1629
1590
about :
1630
1591
gui 2 :add ,text ,,mDesktop
1631
- gui 2 :add ,text ,,Version: 1.7.0
1592
+ gui 2 :add ,text ,,Version: 1.7.2
1632
1593
gui 2 :add ,text ,,By: Jason Stallings
1633
1594
gui 2 :add ,text ,cblue ggourl, github.com/ octalmage/ mDesktop
1634
1595
gui 2 :add ,text ,,Enhancements by: Ian Fijolek
0 commit comments