- Update to 4.4
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= brainworkshop
|
||||
PORTVERSION= 4.3
|
||||
PORTVERSION= 4.4
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MD5 (brainworkshop-4.3.zip) = c33df401ce7315cb57c4265dd1c3befa
|
||||
SHA256 (brainworkshop-4.3.zip) = d6d0903004e99cd37d7e1039c8d94cfdbfcdba279df8df43741ba91c6fb10960
|
||||
SIZE (brainworkshop-4.3.zip) = 11365936
|
||||
MD5 (brainworkshop-4.4.zip) = 99a917c5044b040e5269bd5809aed611
|
||||
SHA256 (brainworkshop-4.4.zip) = f3bdee10499f02d8d3505690172bf540f9e70b32b9ae8117464a9b02a874b505
|
||||
SIZE (brainworkshop-4.4.zip) = 11829491
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- brainworkshop.pyw.orig 2008-11-05 01:11:08.000000000 +0300
|
||||
+++ brainworkshop.pyw 2008-11-05 01:11:55.000000000 +0300
|
||||
@@ -52,9 +52,7 @@
|
||||
--- brainworkshop.pyw.orig 2009-01-17 21:01:40.000000000 +0300
|
||||
+++ brainworkshop.pyw 2009-01-19 22:41:15.000000000 +0300
|
||||
@@ -49,9 +49,7 @@
|
||||
hasattr(sys, "importers") # old py2exe
|
||||
or imp.is_frozen("__main__")) # tools/freeze
|
||||
def get_main_dir():
|
||||
@@ -8,20 +8,20 @@
|
||||
- return os.path.dirname(sys.executable)
|
||||
- return sys.path[0]
|
||||
+ return '/'
|
||||
|
||||
CONFIGFILE_DEFAULT_CONTENTS = """
|
||||
######################################################################
|
||||
@@ -252,6 +250,9 @@
|
||||
try: CONFIGFILE = sys.argv[sys.argv.index('--configfile') + 1]
|
||||
except: pass
|
||||
def get_data_dir():
|
||||
try:
|
||||
return sys.argv[sys.argv.index('--datadir') + 1]
|
||||
@@ -355,6 +353,9 @@
|
||||
except:
|
||||
pass
|
||||
|
||||
+if not os.path.exists(FOLDER_DATA):
|
||||
+ os.mkdir(FOLDER_DATA)
|
||||
+
|
||||
if not os.path.isfile(os.path.join(get_main_dir(), FOLDER_DATA, CONFIGFILE)):
|
||||
newconfigfile = open(os.path.join(os.path.join(get_main_dir(), FOLDER_DATA, CONFIGFILE)), 'w')
|
||||
if not os.path.isfile(os.path.join(get_data_dir(), CONFIGFILE)):
|
||||
newconfigfile = open(os.path.join(os.path.join(get_data_dir(), CONFIGFILE)), 'w')
|
||||
newconfigfile.write(CONFIGFILE_DEFAULT_CONTENTS)
|
||||
@@ -432,17 +433,7 @@
|
||||
@@ -643,17 +644,7 @@
|
||||
print >> sys.stderr, ''.join(str_list)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
@@ -11,9 +11,11 @@ bin/brainworkshop
|
||||
%%DATADIR%%/brandenburg.ogg
|
||||
%%DATADIR%%/c.wav
|
||||
%%DATADIR%%/caribe.ogg
|
||||
%%DATADIR%%/cematinla.ogg
|
||||
%%DATADIR%%/cornerpocket.ogg
|
||||
%%DATADIR%%/dinah.ogg
|
||||
%%DATADIR%%/elubechango.ogg
|
||||
%%DATADIR%%/femmedargent.ogg
|
||||
%%DATADIR%%/frevorasgado.ogg
|
||||
%%DATADIR%%/glassworks.ogg
|
||||
%%DATADIR%%/h.wav
|
||||
@@ -122,6 +124,7 @@ bin/brainworkshop
|
||||
%%DATADIR%%/r.wav
|
||||
%%DATADIR%%/s.wav
|
||||
%%DATADIR%%/sarahmencken.ogg
|
||||
%%DATADIR%%/spellbound.ogg
|
||||
%%DATADIR%%/spr_square_blue.png
|
||||
%%DATADIR%%/spr_square_cyan.png
|
||||
%%DATADIR%%/spr_square_green.png
|
||||
|
||||
Reference in New Issue
Block a user