mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-22 02:50:14 +10:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1501d185c2 | ||
|
|
845f748de5 | ||
|
|
2ea6d93325 | ||
|
|
98a9a1b231 | ||
|
|
3bba077e1e | ||
|
|
6f3791a5ca | ||
|
|
1a3eba742f | ||
|
|
75bbad9a0d |
4
DOCS.md
4
DOCS.md
@@ -65,9 +65,9 @@ To copy your settings manually:
|
|||||||
- Copy the contents of settings.json into the same place in VSCodium
|
- Copy the contents of settings.json into the same place in VSCodium
|
||||||
|
|
||||||
## <a id="portable"></a>How do I run VSCodium in portable mode?
|
## <a id="portable"></a>How do I run VSCodium in portable mode?
|
||||||
You can follow the [Portable Mode instructions](https://code.visualstudio.com/docs/editor/portable) from the Visual Studio Code website. For Windows and Linux the instructions can be followed as written. For Mac OS, portable mode is enabled by the existence of a specially named folder. For Visual Studio Code that folder name is `code-portable-data`. For VSCodium, that folder name is `vscodium-portable-data`.
|
You can follow the [Portable Mode instructions](https://code.visualstudio.com/docs/editor/portable) from the Visual Studio Code website. For Windows and Linux the instructions can be followed as written. For Mac OS, portable mode is enabled by the existence of a specially named folder. For Visual Studio Code that folder name is `code-portable-data`. For VSCodium, that folder name is `codium-portable-data`.
|
||||||
|
|
||||||
So to enable portable mode for VSCodium on Mac OS, follow the instructions outlined in the link above, but create a folder named `vscodium-portable-data` instead of `code-portable-data`.
|
So to enable portable mode for VSCodium on Mac OS, follow the instructions outlined in the link above, but create a folder named `codium-portable-data` instead of `code-portable-data`.
|
||||||
|
|
||||||
## <a id="press-and-hold"></a>How do I press and hold a key and have it repeat in VSCodium (Mac)?
|
## <a id="press-and-hold"></a>How do I press and hold a key and have it repeat in VSCodium (Mac)?
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ ingredients:
|
|||||||
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
|
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
|
||||||
script:
|
script:
|
||||||
- pwd
|
- pwd
|
||||||
- cp ../.build/linux/deb/amd64/deb/*.deb .
|
- cp ../vscode/.build/linux/deb/amd64/deb/*.deb .
|
||||||
- ls codium_*.deb | cut -d _ -f 2 > VERSION
|
- ls codium_*.deb | cut -d _ -f 2 > VERSION
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
3
build.sh
3
build.sh
@@ -19,6 +19,9 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
export npm_config_target_arch="$BUILDARCH"
|
export npm_config_target_arch="$BUILDARCH"
|
||||||
../update_settings.sh
|
../update_settings.sh
|
||||||
|
|
||||||
|
# apply patches
|
||||||
|
patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
|
||||||
|
|
||||||
yarn
|
yarn
|
||||||
yarn postinstall
|
yarn postinstall
|
||||||
mv product.json product.json.bak
|
mv product.json product.json.bak
|
||||||
|
|||||||
11
patches/update-cache-path.patch
Normal file
11
patches/update-cache-path.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- vscode/src/vs/platform/update/electron-main/updateService.win32.ts 2019-12-08 15:09:44.000000000 -0800
|
||||||
|
+++ src/src/vs/platform/update/electron-main/updateService.win32.ts 2019-12-08 15:12:56.000000000 -0800
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
|
||||||
|
@memoize
|
||||||
|
get cachePath(): Promise<string> {
|
||||||
|
- const result = path.join(tmpdir(), `vscode-update-${product.target}-${process.arch}`);
|
||||||
|
+ const result = path.join(tmpdir(), `vscodium-update-${product.target}-${process.arch}`);
|
||||||
|
return pfs.mkdirp(result, undefined).then(() => result);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# env
|
# env
|
||||||
|
ARCH=x86_64
|
||||||
HERE="$(dirname "$(readlink -f "${0}")")"
|
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||||
|
|
||||||
# Use privately bundled apt-get and dpkg-deb if available; can be got on trusty using
|
# Use privately bundled apt-get and dpkg-deb if available; can be got on trusty using
|
||||||
|
|||||||
2
sum.sh
2
sum.sh
@@ -27,7 +27,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
sum_file VSCodiumUserSetup-*.exe
|
sum_file VSCodiumUserSetup-*.exe
|
||||||
sum_file VSCodium-win32-*.zip
|
sum_file VSCodium-win32-*.zip
|
||||||
else # linux
|
else # linux
|
||||||
cp vscode/out/*.AppImage .
|
cp out/*.AppImage .
|
||||||
cp vscode/.build/linux/deb/amd64/deb/*.deb .
|
cp vscode/.build/linux/deb/amd64/deb/*.deb .
|
||||||
cp vscode/.build/linux/rpm/x86_64/*.rpm .
|
cp vscode/.build/linux/rpm/x86_64/*.rpm .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user