@aiyiran/myclaw 1.0.165 → 1.0.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/restrict.js +1 -3
package/package.json
CHANGED
package/restrict.js
CHANGED
|
@@ -213,11 +213,9 @@ function step3_createShortcut() {
|
|
|
213
213
|
const psContent = [
|
|
214
214
|
'$ws = New-Object -ComObject WScript.Shell',
|
|
215
215
|
'$sc = $ws.CreateShortcut("' + shortcutPath + '")',
|
|
216
|
-
'$sc.TargetPath = "
|
|
217
|
-
'$sc.Arguments = "' + wslPath + '"',
|
|
216
|
+
'$sc.TargetPath = "' + wslPath + '"',
|
|
218
217
|
'$sc.WorkingDirectory = "' + wslPath + '"',
|
|
219
218
|
'$sc.Description = "OpenClaw Workspace"',
|
|
220
|
-
'$sc.IconLocation = "C:\\Windows\\explorer.exe,0"',
|
|
221
219
|
'$sc.Save()',
|
|
222
220
|
'',
|
|
223
221
|
'Write-Host "OK"',
|