mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-21 21:14:40 -04:00
Renamed 'resources' to 'share', and updated location of 'share' files in OSX/Win binaries
This commit is contained in:
parent
23a4a70221
commit
37539c95b6
30 changed files with 20 additions and 20 deletions
|
@ -3,7 +3,7 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
|
||||
cd $DIR
|
||||
|
||||
VERSION=`cat resources/version.txt`
|
||||
VERSION=`cat share/version.txt`
|
||||
|
||||
# clean up from last build
|
||||
rm -r deb_dist >/dev/null 2>&1
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
|
||||
cd $DIR
|
||||
|
||||
VERSION=`cat resources/version.txt`
|
||||
VERSION=`cat share/version.txt`
|
||||
|
||||
# clean up from last build
|
||||
rm -r build dist >/dev/null 2>&1
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
|
||||
cd $DIR
|
||||
|
||||
VERSION=`cat resources/version.txt`
|
||||
VERSION=`cat share/version.txt`
|
||||
|
||||
rm -rf deb_dist >/dev/null 2>&1
|
||||
python3 setup.py --command-packages=stdeb.command sdist_dsc
|
||||
|
|
|
@ -3,19 +3,19 @@
|
|||
import platform
|
||||
p = platform.system()
|
||||
|
||||
version = open('resources/version.txt').read().strip()
|
||||
version = open('share/version.txt').read().strip()
|
||||
|
||||
a = Analysis(
|
||||
['scripts/onionshare-gui'],
|
||||
pathex=['.'],
|
||||
binaries=None,
|
||||
datas=[
|
||||
('../resources/images/*', 'images'),
|
||||
('../resources/locale/*', 'locale'),
|
||||
('../resources/html/*', 'html'),
|
||||
('../resources/license.txt', '.'),
|
||||
('../resources/version.txt', '.'),
|
||||
('../resources/wordlist.txt', '.')
|
||||
('../share/license.txt', 'share'),
|
||||
('../share/version.txt', 'share'),
|
||||
('../share/wordlist.txt', 'share')
|
||||
('../share/images/*', 'share/images'),
|
||||
('../share/locale/*', 'share/locale'),
|
||||
('../share/html/*', 'share/html'),
|
||||
],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue