Skip to content

Commit

Permalink
.bat のプロファイルパス変更
Browse files Browse the repository at this point in the history
.bat のプロファイルのパスを,GoogleChromeの標準ディレクトリにした
  • Loading branch information
sayonari committed Jun 15, 2024
1 parent 3697107 commit 2901445
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beta_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,9 @@
let content, filename;

if (os === 'win') {
content = `@echo off\r\nstart chrome.exe --disable-features=CalculateNativeWinOcclusion --user-data-dir="C:\\temp\\user_jimaku" --new-window "${url}"\r\nexit /b`;
content = `@echo off\r\nset "USERPROFILE=%LOCALAPPDATA%\\Google\\Chrome\\User Data\\user_jimaku_001"\r\nstart chrome.exe --disable-features=CalculateNativeWinOcclusion --user-data-dir="%USERPROFILE%" --new-window "${url}"\r\nexit /b`;
filename = "jimakuChan_nonStop.bat";

} else {
content = `#!/bin/sh\n"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --disable-features=CalculateNativeWinOcclusion --user-data-dir="Library/Application Support/Google/Chrome/user_jimaku_001" --new-window "${url}"`;
filename = "jimakuChan_nonStop.command";
Expand Down

0 comments on commit 2901445

Please sign in to comment.