Compare commits
No commits in common. "cc04ea05a55533b2851cf23de515646dbab0d4b5" and "c53ab13ff2374c9cf7612105b8cea4251f6e5852" have entirely different histories.
cc04ea05a5
...
c53ab13ff2
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,5 +3,5 @@ build
|
||||
out/
|
||||
src/
|
||||
pkg/
|
||||
*.jar
|
||||
*.tar.gz
|
||||
PKGBUILD
|
||||
|
13
LICENSE
Normal file
13
LICENSE
Normal file
@ -0,0 +1,13 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018-present The VSCodium contributors
|
||||
Copyright (c) 2018-present Peter Squicciarini
|
||||
Copyright (c) 2015-present Microsoft Corporation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Visual Studio Code
|
||||
|
||||
Open Source version of Microsoft's Code Editor
|
||||
|
||||
|
||||
## License
|
||||
|
||||
Copyright (c) 2018-present The VSCodium contributors
|
||||
Copyright (c) 2018-present Peter Squicciarini
|
||||
Copyright (c) 2015-present Microsoft Corporation
|
||||
|
||||
Licensed under the MIT license
|
26
build.sh
26
build.sh
@ -1,25 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# sed -e
|
||||
sed -e
|
||||
|
||||
rm *.tar.gz
|
||||
|
||||
dlarch="$1"
|
||||
if [ "$1" == "amd64" ]; then
|
||||
dlarch="x64"
|
||||
fi
|
||||
|
||||
CLICK_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
|
||||
CLICK_FRAMEWORK=ubuntu-sdk-16.04.5
|
||||
|
||||
pkgver=v1.2.3
|
||||
pkgver=1.65.0
|
||||
srcdir=$BUILD_DIR
|
||||
pkgdir=$INSTALL_DIR
|
||||
mkdir -p $srcdir $pkgdir
|
||||
|
||||
wget https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/$pkgver/ShatteredPD-$pkgver-Desktop.jar -O ShatteredPD.jar
|
||||
cp ShatteredPD.jar $pkgdir/
|
||||
wget https://github.com/VSCodium/vscodium/releases/download/$pkgver/VSCodium-linux-$dlarch-$pkgver.tar.gz
|
||||
tar xvf ./VSCodium-linux-$dlarch-$pkgver.tar.gz -C $pkgdir
|
||||
|
||||
cp $ROOT/manifest.json $pkgdir/
|
||||
sed -i "s/@CLICK_ARCH@/$CLICK_ARCH/g" $pkgdir/manifest.json
|
||||
sed -i "s/@CLICK_FRAMEWORK@/$CLICK_FRAMEWORK/g" $pkgdir/manifest.json
|
||||
cp $ROOT/shatteredpd.apparmour $pkgdir/
|
||||
cp $ROOT/shatteredpd.desktop $pkgdir/
|
||||
cp $ROOT/shatteredpd.wrapper $pkgdir/
|
||||
cp $ROOT/shatteredpd.png $pkgdir/
|
||||
chmod a+x $pkgdir/shatteredpd.wrapper
|
||||
cp $ROOT/codium.apparmor $pkgdir/
|
||||
cp $ROOT/codium.desktop $pkgdir/
|
||||
cp $ROOT/codium.wrapper $pkgdir/
|
||||
chmod a+x $pkgdir/codium.wrapper
|
||||
chown root $pkgdir/chrome-sandbox
|
||||
chmod 4755 ./chrome-sandbox
|
||||
|
||||
exit 0
|
||||
|
@ -14,16 +14,9 @@
|
||||
"libglib2.0-0",
|
||||
"libpng16-16",
|
||||
"libgtk-3-0",
|
||||
"libdbusmenu-glib4",
|
||||
"default-jdk"
|
||||
"libdbusmenu-glib4"
|
||||
],
|
||||
"install_lib": [
|
||||
"/usr/lib/${ARCH_TRIPLET}/libgtk-3.so*",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libvpx.so.3*",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libsndio.so.6.1",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libvorbis.so.0*",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libSDL2-2.0.so*",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libsndio.so*",
|
||||
"/usr/lib/${ARCH_TRIPLET}/libm.so.*"
|
||||
"/usr/lib/${ARCH_TRIPLET}/libgtk-3.so*"
|
||||
]
|
||||
}
|
||||
|
9
codium.desktop
Normal file
9
codium.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=VSCodium
|
||||
Exec=./codium.wrapper %U
|
||||
Icon=./resources/app/resources/linux/code.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-Ubuntu-Touch=true
|
||||
X-Ubuntu-Splash-Color=#FFFFFF
|
||||
X-Ubuntu-XMir-Enable=true
|
@ -5,4 +5,4 @@ SCALE=$(( $GRID_UNIT_PX / 8 ))
|
||||
export GDK_BACKEND=x11
|
||||
export GDK_SCALE=$SCALE
|
||||
|
||||
exec java -jar ./ShatteredPD.jar --force-device-scale-factor=$SCALE "$@"
|
||||
exec ./codium --force-device-scale-factor=$SCALE "$@"
|
@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "com.shatteredpixel.shatteredpixeldungeon",
|
||||
"description": "Traditional roguelike game with pixel-art graphics and simple interface",
|
||||
"name": "codium.vscodium.com",
|
||||
"description": "Open Source Code Editor",
|
||||
"architecture": "@CLICK_ARCH@",
|
||||
"title": "Shattered Pixel Dungeon",
|
||||
"title": "VSCodium",
|
||||
"hooks": {
|
||||
"code": {
|
||||
"apparmor": "shatteredpd.apparmour",
|
||||
"desktop": "shatteredpd.desktop"
|
||||
"apparmor": "codium.apparmor",
|
||||
"desktop": "codium.desktop"
|
||||
}
|
||||
},
|
||||
"version": "1.2.3",
|
||||
"maintainer": "CactiChameleon9 <CactiChameleon9@noreply>",
|
||||
"version": "1.65.0",
|
||||
"maintainer": "Alfred Neumayer <dev.beidl@gmail.com>",
|
||||
"framework" : "@CLICK_FRAMEWORK@"
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Shattered Pixel Dungeon
|
||||
Exec=java -jar ./ShatteredPD.jar
|
||||
Icon=./shatteredpd.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-Ubuntu-Touch=true
|
||||
X-Ubuntu-Splash-Color=#53524e
|
||||
X-Ubuntu-XMir-Enable=true
|
BIN
shatteredpd.png
BIN
shatteredpd.png
Binary file not shown.
Before Width: | Height: | Size: 548 B |
Reference in New Issue
Block a user