kopia lustrzana
				https://github.com/arsenetar/dupeguru-cocoa.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	- Remove seperate hscommon submodule, and use the files in the dupeguru submodule - Update package.py and build.py to account for hscommon submodule removal - Fix one more warning in UI code - Update .gitignore to ignore visual studio code folder
		
			
				
	
	
		
			32 wiersze
		
	
	
		
			903 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			32 wiersze
		
	
	
		
			903 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Copyright 2017 Virgil Dupras
 | 
						|
#
 | 
						|
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
 | 
						|
# which should be included with this package. The terms are also available at
 | 
						|
# http://www.gnu.org/licenses/gpl-3.0.html
 | 
						|
 | 
						|
from argparse import ArgumentParser
 | 
						|
 | 
						|
# Modify the python path so the hscommon files in the dupeguru submodule may be used
 | 
						|
import sys
 | 
						|
import os
 | 
						|
sys.path.append(os.path.join(os.getcwd(), 'dupeguru'))
 | 
						|
 | 
						|
from hscommon.build import setup_package_argparser, package_cocoa_app_in_dmg
 | 
						|
 | 
						|
def parse_args():
 | 
						|
    parser = ArgumentParser()
 | 
						|
    setup_package_argparser(parser)
 | 
						|
    return parser.parse_args()
 | 
						|
 | 
						|
def package_cocoa(args):
 | 
						|
    app_path = 'build/Release/dupeGuru.app'
 | 
						|
    package_cocoa_app_in_dmg(app_path, '.', args)
 | 
						|
 | 
						|
def main():
 | 
						|
    args = parse_args()
 | 
						|
    print("Packaging dupeGuru with UI cocoa")
 | 
						|
    package_cocoa(args)
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    main()
 |