-
-
Notifications
You must be signed in to change notification settings - Fork 129
Several vscode extension fixes and updates. #1966
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ async function installToolchain() { | |
} else { | ||
if (win32MipsToolsInstalling) return | ||
win32MipsToolsInstalling = true | ||
await terminal.run('mips', ['install', mipsVersion]) | ||
await terminal.run('cmd', ['/c', `mips install ${mipsVersion}`]) | ||
} | ||
Comment on lines
+74
to
75
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good fix for PowerShell default shell; propagate the same to GDB/Make. Windows “mips” invocations elsewhere still call the tool directly and may fail under PowerShell. Use cmd /c consistently. - await terminal.run('cmd', ['/c', `mips install ${mipsVersion}`])
+ await terminal.run('cmd', ['/c', `mips install ${mipsVersion}`]) Also change below (other occurrences): - await terminal.run('mips', ['install', mipsVersion])
+ await terminal.run('cmd', ['/c', `mips install ${mipsVersion}`]) (Repeat the same change in installMake.)
🤖 Prompt for AI Agents
|
||
} catch (error) { | ||
vscode.window.showErrorMessage( | ||
|
@@ -306,7 +306,7 @@ async function installCMake() { | |
asset.browser_download_url.split('/').pop() | ||
) | ||
await downloader.downloadFile(asset.browser_download_url, filename) | ||
await execFile('start', [filename]) | ||
await terminal.run('msiexec', ['/i', filename]) | ||
requiresReboot = true | ||
break | ||
case 'linux': | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,6 +1,6 @@ | ||||||
# escape=` | ||||||
|
||||||
# Dockerfile to generate the Windows g++-mipsel-none-elf-14.2.0.zip package. | ||||||
# Dockerfile to generate the Windows g++-mipsel-none-elf-15.2.0.zip package. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sync Windows toolchain version across the extension. Docker now produces 15.2.0 artifacts, but tools.js still installs 14.2.0. This will lead to users getting the older toolchain from the VS Code extension. Apply in tools.js: -const mipsVersion = '14.2.0'
+const mipsVersion = '15.2.0' 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
|
||||||
FROM mcr.microsoft.com/windows/servercore:ltsc2022 | ||||||
WORKDIR C:\windows\temp | ||||||
|
@@ -80,6 +80,6 @@ RUN C:\msys64\usr\bin\bash.exe -l -c 'for t in cat cp echo mkdir rm touch which | |||||
RUN C:\msys64\usr\bin\bash.exe -l -c 'cp /mingw64/bin/mingw32-make.exe /DIST/bin/make.exe' | ||||||
RUN C:\msys64\usr\bin\bash.exe -l -c 'cd /DIST && find . -name *.exe | while read bin ; do ldd $bin | cut -f2 -d\> | cut -f2 -d\ | grep -v /c/Windows/S | while read f ; do cp $f $(dirname $bin) ; done ; done || true' | ||||||
|
||||||
RUN C:\msys64\usr\bin\bash.exe -l -c 'cd /DIST && zip /c/g++-mipsel-none-elf-14.2.0.zip . -r' | ||||||
RUN C:\msys64\usr\bin\bash.exe -l -c 'cd /DIST && zip /c/g++-mipsel-none-elf-15.2.0.zip . -r' | ||||||
|
||||||
CMD C:\msys64\usr\bin\bash.exe -l |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Polish changelog wording/branding.
Use “macOS”, and consistent past tense/branding for GCC/Binutils.
📝 Committable suggestion
🧰 Tools
🪛 LanguageTool
[grammar] ~21-~21: There might be a mistake here.
Context: ...endency locally. ### Changelog - 0.4.0 - Fixed installation issues with MacOS Seq...
(QB_NEW_EN)
[grammar] ~22-~22: There might be a mistake here.
Context: ... installation issues with MacOS Sequoia. - Bumping gcc to 15.2.0 - Bumping binuti...
(QB_NEW_EN)
[grammar] ~25-~25: There might be a mistake here.
Context: ...in when PowerShell is the default shell. - 0.3.9 - Fixed cube psyqo template's nu...
(QB_NEW_EN)
🤖 Prompt for AI Agents