Merge branch 'DarkFlippers:dev' into clock_on_desktop

This commit is contained in:
gid9798
2023-05-23 22:48:54 +03:00
committed by GitHub
+7 -1
View File
@@ -271,7 +271,13 @@ class Main(App):
self.note_dist_component( self.note_dist_component(
"update", "tgz", self.get_dist_path(bundle_tgz) "update", "tgz", self.get_dist_path(bundle_tgz)
) )
tar.add(bundle_dir, arcname=bundle_dir_name)
# Strip uid and gid in case of overflow
def tar_filter(tarinfo):
tarinfo.uid = tarinfo.gid = 0
return tarinfo
tar.add(bundle_dir, arcname=bundle_dir_name, filter=tar_filter)
return bundle_result return bundle_result