Skip to content

Commit

Permalink
更新:
Browse files Browse the repository at this point in the history
1. 添加logo及相关素材
2. 更新基本信息
  • Loading branch information
jksdou committed Feb 24, 2022
1 parent 0cc5d2f commit afba402
Show file tree
Hide file tree
Showing 23 changed files with 117 additions and 87 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,4 @@ dmypy.json

# Pyre type checker
.pyre/
.DS_Store
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2020, doudoudzj
Copyright (c) 2020 - present, Jackson Dou
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
11 changes: 2 additions & 9 deletions build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# _*_ coding:utf-8 _*_

pyinstaller\
--clean\
--noconfirm\
-w\
build.spec

# or shell
# pyinstaller -F -w --clean -y mac_show_all_files.py
pyinstaller -D -w -y --noconfirm build.spec

# sign app
sudo codesign --force --deep --sign - ./dist/MacShowAllFiles.app
# sudo codesign --force --deep --sign - ./dist/ShowAllFiles.app
104 changes: 49 additions & 55 deletions build.spec
Original file line number Diff line number Diff line change
@@ -1,74 +1,68 @@
# -*- mode: python ; coding: utf-8 -*-

BLOCK_CIPHER = None
APP_NAME = '显示系统所有文件'
APP_EXE = 'mac_show_all_files'
APP_APP = '显示系统所有文件.app'
APP_VERSION = '0.0.1'
SCRIPTS = ['mac_show_all_files.py']
BINARIES = []
DATAS = []
HIDDEN_IMPORTS = [] # 源文件的依赖模块
HOOKSPATH = []
EXCLUDES = [] # 不需要打包的模块
RUNTIME_HOOKS = []
BUNDLE_IDENTIFIER = 'com.pythub.app.mac_show_all_files' # 一般情况下Bundle ID的格式为:com.公司名称.项目名称
UPX = True # 如果有UPX安装(执行Configure.py时检测),会压缩执行文件(Windows系统中的DLL也会)
PATHEX = ['.']
COPYRIGHT = 'Copyright © 2020, doudoudzj, All Rights Reserved'

a = Analysis(SCRIPTS,
pathex=PATHEX,
binaries=BINARIES,
datas=DATAS,
hiddenimports=HIDDEN_IMPORTS,
hookspath=HOOKSPATH,
runtime_hooks=RUNTIME_HOOKS,
excludes=EXCLUDES,
block_cipher = None

APP_NAME = '显示所有文件'
APP_APP = 'ShowAllFiles.app'
APP_VERSION = '0.0.2'
BUNDLE_IDENTIFIER = 'org.pythub.app.show_all_files'


a = Analysis(['src/showallfiles.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=BLOCK_CIPHER,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data, cipher=BLOCK_CIPHER)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

exe = EXE(pyz,
a.scripts, [],
a.scripts,
[],
exclude_binaries=True,
name=APP_NAME,
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=UPX,
console=False)
upx=True,
console=False,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
a.datas,
strip=False,
upx=UPX,
upx=True,
upx_exclude=[],
name=APP_NAME)
app = BUNDLE(coll,
name=APP_APP,
icon=None,
bundle_identifier=BUNDLE_IDENTIFIER)

app = BUNDLE(
coll,
name=APP_APP,
icon=None,
bundle_identifier=BUNDLE_IDENTIFIER,
info_plist={
'CFBundleName': APP_NAME,
'CFBundleDisplayName': 'APP_NAME',
'CFBundleExecutable': APP_NAME,
'CFBundlePackageType': 'APPL',
'CFBundleSupportedPlatforms': 'MacOSX',
'CFBundleGetInfoString': "doudoudzj",
'CFBundleIdentifier': BUNDLE_IDENTIFIER,
'CFBundleVersion': APP_VERSION,
'CFBundleInfoDictionaryVersion': APP_VERSION,
'CFBundleShortVersionString': APP_VERSION,
'NSHighResolutionCapable': True,
'NSHumanReadableCopyright': COPYRIGHT
}
)
name=APP_APP,
icon='resources/logo.icns',
bundle_identifier=BUNDLE_IDENTIFIER,
info_plist={
'CFBundleName': APP_NAME,
'CFBundleDisplayName': APP_NAME,
'CFBundleExecutable': APP_NAME,
'CFBundlePackageType': 'APPL',
'CFBundleSupportedPlatforms': ['MacOSX'],
'CFBundleGetInfoString': "Jackson Dou",
'CFBundleIdentifier': BUNDLE_IDENTIFIER,
'CFBundleVersion': APP_VERSION,
'CFBundleInfoDictionaryVersion': APP_VERSION,
'CFBundleShortVersionString': APP_VERSION,
'NSHighResolutionCapable': True,
'LSApplicationCategoryType': 'public.app-category.utilities',
'NSHumanReadableCopyright': 'Copyright © 2020-2022 Jackson Dou, All Rights Reserved'
})
Binary file added resources/logo.icns
Binary file not shown.
Binary file added resources/logo.iconset/icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_16x16@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_256x256@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_32x32@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.iconset/icon_512x512@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions resources/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/logo.vectornator/Artboard0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"layers":[{"isExpanded":false,"elements":[{"elementDescription":"(oval)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"abstractPath":{"fillRule":0,"pathData":{"nodes":[{"outPoint":[10.000000000000057,234.75299546434388],"reflectionModeOverride":0,"anchorPoint":[10.000000000000057,511.9999851122235],"cornerRadius":0,"prevPoint":[-141.33825133131785,-139.90042711161965],"inPoint":[10.000000000000057,789.24697476010306],"nextPoint":[-141.33825133131785,-139.90042711161965]},{"outPoint":[789.24698220399159,9.9999776683353048],"reflectionModeOverride":0,"anchorPoint":[512.0000223316647,9.9999776683353048],"cornerRadius":0,"prevPoint":[-141.33825133131785,-139.90042711161965],"inPoint":[234.75306245933768,9.9999776683353048],"nextPoint":[-141.33825133131785,-139.90042711161965]},{"outPoint":[1014,789.24697476010306],"reflectionModeOverride":0,"anchorPoint":[1014,511.9999851122235],"cornerRadius":0,"prevPoint":[-141.33825133131785,-139.90042711161965],"inPoint":[1014,234.75299546434388],"nextPoint":[-141.33825133131785,-139.90042711161965]},{"outPoint":[234.75306245933768,1014.0000223316647],"reflectionModeOverride":0,"anchorPoint":[512.0000223316647,1014.0000223316647],"cornerRadius":0,"prevPoint":[-141.33825133131785,-139.90042711161965],"inPoint":[789.24698220399159,1014.0000223316647],"nextPoint":[-141.33825133131785,-139.90042711161965]}],"closed":true,"reversed":false},"strokeType":0},"fillColor":{"b":0.72667506783308378,"s":0.74379273765107501,"h":0.31574922800064087,"a":1},"strokeStyle":{"color":{"b":1,"s":0,"h":0.52724361419677734,"a":1},"dashPattern":[],"join":1,"width":20,"endArrow":"","startArrow":"","cap":1},"maskedElements":[]},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[-146.63221395132271,-140.05179016158647],"opacity":1,"blur":0,"isLocked":false,"gid":27,"smootheningRate":0,"initialPoint":[-146.63221395132271,-140.05179016158647],"creationPoints":[],"name":"(oval)"}],"isLocked":true,"defaultName":"图层 2","isVisible":true,"opacity":1,"name":"背景 Copy","gid":25},{"elements":[{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[0,0],"opacity":1,"blur":0,"isLocked":false,"gid":18,"smootheningRate":0,"initialPoint":[0,0],"creationPoints":[],"group":{"elements":[{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"fillColor":{"b":0.94371571797810627,"s":0.022107246594551284,"h":0.6489899754524231,"a":1},"maskedElements":[],"abstractPath":{"fillRule":0,"compoundPathData":{"subpaths":[{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"abstractPath":{"fillRule":0,"pathData":{"nodes":[{"outPoint":[471.61204061420915,644.89063249557796],"reflectionModeOverride":0,"anchorPoint":[471.61204061420915,644.89063249557796],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[471.61204061420915,644.89063249557796],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[331.95508263514944,644.89063249557796],"reflectionModeOverride":0,"anchorPoint":[331.95508263514944,644.89063249557796],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[331.95508263514944,644.89063249557796],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[312.73871826206175,710.38866317567965],"reflectionModeOverride":0,"anchorPoint":[312.73871826206175,710.38866317567965],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[312.73871826206175,710.38866317567965],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[187.42637030798301,710.38866317567965],"reflectionModeOverride":0,"anchorPoint":[187.42637030798301,710.38866317567965],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[187.42637030798301,710.38866317567965],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[336.55618396391674,313.61133682432035],"reflectionModeOverride":0,"anchorPoint":[336.55618396391674,313.61133682432035],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[336.55618396391674,313.61133682432035],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[470.25877551751273,313.61133682432035],"reflectionModeOverride":0,"anchorPoint":[470.25877551751273,313.61133682432035],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[470.25877551751273,313.61133682432035],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[619.38858917344658,710.38866317567965],"reflectionModeOverride":0,"anchorPoint":[619.38858917344658,710.38866317567965],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[619.38858917344658,710.38866317567965],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[491.0990580066358,710.38866317567965],"reflectionModeOverride":0,"anchorPoint":[491.0990580066358,710.38866317567965],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[491.0990580066358,710.38866317567965],"nextPoint":[127.17985120453859,102.37339428071056]}],"closed":true,"reversed":false},"strokeType":0},"maskedElements":[]},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[539.39546622977059,102.37339428071056],"opacity":1,"blur":0,"isLocked":false,"gid":11,"smootheningRate":0,"initialPoint":[539.39546622977059,102.37339428071056],"creationPoints":[],"name":"(curve)"},{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"abstractPath":{"fillRule":0,"pathData":{"nodes":[{"outPoint":[445.90000377697902,559.0936253650317],"reflectionModeOverride":0,"anchorPoint":[445.90000377697902,559.0936253650317],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[445.90000377697902,559.0936253650317],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[402.05421464401843,416.45948417324018],"reflectionModeOverride":0,"anchorPoint":[402.05421464401843,416.45948417324018],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[402.05421464401843,416.45948417324018],"nextPoint":[127.17985120453859,102.37339428071056]},{"outPoint":[358.47907853039703,559.0936253650317],"reflectionModeOverride":0,"anchorPoint":[358.47907853039703,559.0936253650317],"cornerRadius":0,"prevPoint":[127.17985120453859,102.37339428071056],"inPoint":[358.47907853039703,559.0936253650317],"nextPoint":[127.17985120453859,102.37339428071056]}],"closed":true,"reversed":false},"strokeType":0},"maskedElements":[]},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[539.39546622977059,102.37339428071056],"opacity":1,"blur":0,"isLocked":false,"gid":12,"smootheningRate":0,"initialPoint":[539.39546622977059,102.37339428071056],"creationPoints":[],"name":"(curve)"}]},"strokeType":0}},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[127.17985120453859,99.935163714289416],"opacity":1,"blur":0,"isLocked":false,"gid":10,"smootheningRate":0,"initialPoint":[127.17985120453859,99.935163714289416],"creationPoints":[],"name":"(curve)"},{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"fillColor":{"b":0.94371571797810627,"s":0.022107246594551284,"h":0.6489899754524231,"a":1},"maskedElements":[],"abstractPath":{"fillRule":0,"pathData":{"nodes":[{"outPoint":[498.28770896838398,391.14746939241786],"reflectionModeOverride":0,"anchorPoint":[498.28770896838398,391.14746939241786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[498.28770896838398,391.14746939241786],"nextPoint":[69.249542014565577,264.62513860287601]},{"outPoint":[571.72325584338398,391.14746939241786],"reflectionModeOverride":0,"anchorPoint":[571.72325584338398,391.14746939241786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[571.72325584338398,391.14746939241786],"nextPoint":[69.249542014565577,264.62513860287601]},{"outPoint":[571.72325584338398,570.27832876741786],"reflectionModeOverride":0,"anchorPoint":[571.72325584338398,570.27832876741786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[571.72325584338398,570.27832876741786],"nextPoint":[69.249542014565577,264.62513860287601]},{"outPoint":[686.33458396838398,570.27832876741786],"reflectionModeOverride":0,"anchorPoint":[686.33458396838398,570.27832876741786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[686.33458396838398,570.27832876741786],"nextPoint":[69.249542014565577,264.62513860287601]},{"outPoint":[686.33458396838398,628.79981314241786],"reflectionModeOverride":0,"anchorPoint":[686.33458396838398,628.79981314241786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[686.33458396838398,628.79981314241786],"nextPoint":[69.249542014565577,264.62513860287601]},{"outPoint":[498.28770896838398,628.79981314241786],"reflectionModeOverride":0,"anchorPoint":[498.28770896838398,628.79981314241786],"cornerRadius":0,"prevPoint":[69.249542014565577,264.62513860287601],"inPoint":[498.28770896838398,628.79981314241786],"nextPoint":[69.249542014565577,264.62513860287601]}],"closed":true,"reversed":false},"strokeType":0}},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[69.249542014565577,263.16474464830878],"opacity":1,"blur":0,"isLocked":false,"gid":13,"smootheningRate":0,"initialPoint":[69.249542014565577,263.16474464830878],"creationPoints":[],"name":"(curve)"},{"elementDescription":"(curve)","category":0,"blendMode":0,"creationViewScale":0,"isFreeHandCurve":false,"styleable":{"fillColor":{"b":0.94371571797810627,"s":0.022107246594551284,"h":0.6489899754524231,"a":1},"maskedElements":[],"abstractPath":{"fillRule":0,"pathData":{"nodes":[{"outPoint":[648.52675469201699,391.38675555066595],"reflectionModeOverride":0,"anchorPoint":[648.52675469201699,391.38675555066595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[648.52675469201699,391.38675555066595],"nextPoint":[-112.67352163680141,264.8644247611241]},{"outPoint":[721.96230156701699,391.38675555066595],"reflectionModeOverride":0,"anchorPoint":[721.96230156701699,391.38675555066595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[721.96230156701699,391.38675555066595],"nextPoint":[-112.67352163680141,264.8644247611241]},{"outPoint":[721.96230156701699,570.51761492566595],"reflectionModeOverride":0,"anchorPoint":[721.96230156701699,570.51761492566595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[721.96230156701699,570.51761492566595],"nextPoint":[-112.67352163680141,264.8644247611241]},{"outPoint":[836.57362969201699,570.51761492566595],"reflectionModeOverride":0,"anchorPoint":[836.57362969201699,570.51761492566595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[836.57362969201699,570.51761492566595],"nextPoint":[-112.67352163680141,264.8644247611241]},{"outPoint":[836.57362969201699,629.03909930066595],"reflectionModeOverride":0,"anchorPoint":[836.57362969201699,629.03909930066595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[836.57362969201699,629.03909930066595],"nextPoint":[-112.67352163680141,264.8644247611241]},{"outPoint":[648.52675469201699,629.03909930066595],"reflectionModeOverride":0,"anchorPoint":[648.52675469201699,629.03909930066595],"cornerRadius":0,"prevPoint":[-112.67352163680141,264.8644247611241],"inPoint":[648.52675469201699,629.03909930066595],"nextPoint":[-112.67352163680141,264.8644247611241]}],"closed":true,"reversed":false},"strokeType":0}},"elementAdditionalValue":0,"angle":0,"smootheningRateRaw":0,"isHidden":false,"endPointFIX":[-112.67352163680141,266.32483307797816],"opacity":1,"blur":0,"isLocked":false,"gid":14,"smootheningRate":0,"initialPoint":[-112.67352163680141,266.32483307797816],"creationPoints":[],"name":"(curve)"}]},"name":"(curve)"}],"isExpanded":false,"isLocked":true,"isVisible":true,"opacity":1,"gid":7,"name":"文字"}],"frame":{"y":0,"x":0,"width":1024,"height":1024},"title":"Mac App icon","activeLayerIndex":0,"settings":{"gridSpacing":20,"gridAngle":45,"backgroundColor":{"b":1,"s":0,"h":0,"a":1},"gridMode":0,"isGridVisible":false},"guideLayer":{"isExpanded":true,"elements":[],"isLocked":false,"defaultName":"辅助线","isVisible":true,"opacity":1,"name":"辅助线","gid":8},"gid":6}
Loading

0 comments on commit afba402

Please sign in to comment.