mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update
This commit is contained in:
parent
0453c1eda1
commit
e978ebcf9f
@ -23,7 +23,15 @@ APP_NAME=${APP_NAME//\",\"main/}
|
||||
export WECHAT_DEVTOOLS_DIR="$root_dir/nwjs"
|
||||
export APPDATA="$DATA_DIR/$APP_NAME"
|
||||
export PATH="$root_dir/node/bin:$root_dir/nwjs:$PATH"
|
||||
export USERPROFILE=$DATA_DIR
|
||||
export USERPROFILE=$APPDATA
|
||||
|
||||
# SNAP
|
||||
# if [ -n $SNAP ];then
|
||||
# if [ ! -f $DATA_DIR/nacl_irt_x86_64.nexe ];then
|
||||
# # 解压
|
||||
# tar -zxf $root_dir/nwjs/nacl_irt_x86_64.nexe.tar.gz -C $APPDATA/nacl_irt_x86_64.nexe
|
||||
# fi
|
||||
# fi
|
||||
|
||||
clean_cache() {
|
||||
echo "清理缓存";
|
||||
|
@ -118,7 +118,10 @@ parts:
|
||||
ls -l
|
||||
ls -l $SNAPCRAFT_PART_SRC
|
||||
ls -l $SNAPCRAFT_PART_BUILD
|
||||
chmod 644 nacl_irt_x86_64.nexe
|
||||
rm -rf nacl_irt_x86_64.nexe
|
||||
# chmod 644 nacl_irt_x86_64.nexe
|
||||
# tar -zcf nacl_irt_x86_64.nexe.tar.gz nacl_irt_x86_64.nexe
|
||||
# ln -s $SNAP/nacl_irt_x86_64.nexe nacl_irt_x86_64.nexe
|
||||
ls -l
|
||||
ls -l $SNAPCRAFT_PART_SRC
|
||||
ls -l $SNAPCRAFT_PART_BUILD
|
||||
@ -176,6 +179,7 @@ apps:
|
||||
- browser-support
|
||||
- home
|
||||
- system-observe
|
||||
- block-devices
|
||||
|
||||
plugs:
|
||||
gtk-3-themes:
|
||||
@ -190,7 +194,3 @@ plugs:
|
||||
interface: content
|
||||
target: $SNAP/data-dir/sounds
|
||||
default-provider: gtk-common-themes
|
||||
# platform_snap:
|
||||
# interface: content
|
||||
# target: $SNAP/gnome-platform
|
||||
# default-provider: gnome-3-34-1804
|
||||
|
Loading…
x
Reference in New Issue
Block a user