mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Add -x option to packp3d, include 'cur' as an extractable extension by default
This commit is contained in:
parent
d8f655479a
commit
563f6843a2
@ -2371,7 +2371,7 @@ class Packager:
|
||||
|
||||
# Binary files that are copied (and compressed) without
|
||||
# processing.
|
||||
self.binaryExtensions = [ 'ttf', 'TTF', 'mid', 'ico' ]
|
||||
self.binaryExtensions = [ 'ttf', 'TTF', 'mid', 'ico', 'cur' ]
|
||||
|
||||
# Files that can have an existence in multiple different
|
||||
# packages simultaneously without conflict.
|
||||
@ -2411,7 +2411,7 @@ class Packager:
|
||||
}
|
||||
|
||||
# Files that should be extracted to disk.
|
||||
self.extractExtensions = self.executableExtensions[:] + self.manifestExtensions[:] + [ 'ico' ]
|
||||
self.extractExtensions = self.executableExtensions[:] + self.manifestExtensions[:] + [ 'ico', 'cur' ]
|
||||
|
||||
# Files that indicate a platform dependency.
|
||||
self.platformSpecificExtensions = self.executableExtensions[:]
|
||||
|
@ -111,7 +111,7 @@ class ArgumentError(StandardError):
|
||||
pass
|
||||
|
||||
def makePackedApp(args):
|
||||
opts, args = getopt.getopt(args, 'o:d:m:S:e:n:p:c:r:s:Dh')
|
||||
opts, args = getopt.getopt(args, 'o:d:m:S:e:n:x:p:c:r:s:Dh')
|
||||
|
||||
packager = Packager.Packager()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user