Skip to content

Commit

Permalink
Strip out more components that lead to running the wrong environment (#…
Browse files Browse the repository at this point in the history
…45)

* strip msys2_shell

* Add msys2_shell replacement
  • Loading branch information
zvecr authored Apr 17, 2021
1 parent 11f5fb9 commit a92a96e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
rm -rf .build/msys64/var/cache/pacman/pkg/*
rm -f .build/msys64/*.exe
rm -f .build/msys64/*.ico
rm -f .build/msys64/msys2_shell.cmd
mkdir -p .build/msys64/dev/shm
mkdir -p .build/msys64/dev/mqueue
cp -rf src/* .build/msys64/
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Note that the example below assumes that you have QMK MSYS installed to the defa
{
"guid": "{1ca2e875-5a87-40f8-b55c-e7ec84354a92}",
"name": "QMK MSYS",
"commandline": "%SystemDrive%/QMK_MSYS/msys2_shell.cmd -defterm -no-start -mingw64",
"commandline": "%SystemDrive%/QMK_MSYS/shell_connector.cmd",
"icon": "%SystemDrive%/QMK_MSYS/icon.ico"
}
```
Expand Down
1 change: 1 addition & 0 deletions installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name:"{app}\"; Permissions:everyone-modify
Filename: "{tmp}\qmk_driver_installer.exe"; WorkingDir: "{tmp}"; Parameters: " --all --force drivers.txt"; StatusMsg: "Installing Drivers..."; Tasks: installdrivers; Flags: runhidden

[Icons]
Name: "{app}\{#MyAppName}"; Filename: "{app}\conemu\ConEmu64.exe"; Parameters: "-NoSingle -NoUpdate -icon {app}\icon.ico -title ""{#MyAppName}"" -run {app}\usr\bin\bash.exe -l -i -cur_console:m:"""""; IconFilename: "{app}\icon.ico"
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\conemu\ConEmu64.exe"; Parameters: "-NoSingle -NoUpdate -icon {app}\icon.ico -title ""{#MyAppName}"" -run {app}\usr\bin\bash.exe -l -i -cur_console:m:"""""; IconFilename: "{app}\icon.ico"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\conemu\ConEmu64.exe"; Parameters: "-NoSingle -NoUpdate -icon {app}\icon.ico -title ""{#MyAppName}"" -run {app}\usr\bin\bash.exe -l -i -cur_console:m:"""""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon

Expand Down
2 changes: 0 additions & 2 deletions src/QMK_MSYS.bat

This file was deleted.

6 changes: 6 additions & 0 deletions src/shell_connector.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off

set MSYSTEM=MINGW64
set MSYS2_PATH_TYPE=inherit

%~dp0\usr\bin\bash.exe -l -i %*

0 comments on commit a92a96e

Please sign in to comment.