Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
feat: remove koolshare install limit
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jun 17, 2020
1 parent 883e879 commit 7c97f99
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@ pack)

tar zcvf ../koolclash.tar.gz koolclash
cd ..

mkdir -p koolclash-build/fuckkoolshare
cp -rf fuckkoolshare/* koolclash-build/fuckkoolshare

cd koolclash-build
tar zcvf ../fuckkoolshare.tar.gz fuckkoolshare
cd ..

rm -rf koolclash-build

echo '----------------------------------------'
echo 'Build the latest version'
echo '----------------------------------------'
Expand Down
15 changes: 15 additions & 0 deletions fuckkoolshare/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#! /bin/sh
export KSROOT=/koolshare
source $KSROOT/scripts/base.sh
alias echo_date='echo 【$(date +%Y年%m月%d日\ %X)】:'

echo_date "====== Koolshare 软件中心离线安装限制 解除 ======"
echo_date " Made by Sukka <https://skk.moe>"
echo_date "* 开始解除 Koolshare 软件中心离线安装限制"

sed -i 's/\tdetect_package/\t# detect_package/g' $KSROOT/scripts/ks_tar_install.sh

echo_date "* 限制解除完成!"
echo_date "* 你将会看见 Koolshare 软件中心提示安装失败,这是正常现象!"

exit 1

0 comments on commit 7c97f99

Please sign in to comment.