Skip to content

Commit

Permalink
The bin folder is added to the package
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Jan 18, 2025
1 parent 54fe669 commit 80eb569
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Arch="$1"
OutputPath="$2"
Version="$3"

FileName="v2rayN-${Arch}.zip"
wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/$FileName"
7z x $FileName
cp -rf v2rayN-${Arch}/* $OutputPath

PackagePath="v2rayN-Package-${Arch}"
mkdir -p "${PackagePath}/DEBIAN"
mkdir -p "${PackagePath}/opt"
Expand Down
5 changes: 5 additions & 0 deletions package-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Arch="$1"
OutputPath="$2"
Version="$3"

FileName="v2rayN-${Arch}.zip"
wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/$FileName"
7z x $FileName
cp -rf v2rayN-${Arch}/* $OutputPath

PackagePath="v2rayN-Package-${Arch}"
mkdir -p "$PackagePath/v2rayN.app/Contents/Resources"
cp -rf "$OutputPath" "$PackagePath/v2rayN.app/Contents/MacOS"
Expand Down

0 comments on commit 80eb569

Please sign in to comment.