-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes
159 lines (131 loc) · 6.59 KB
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# before push, check requirements
# pip freeze > requirements.txt - on original terminal
# pip install -r requirements.txt --upgrade -on new terminals
# How the fuck do you set up for MacOS ARM???
# brew install tcl-tk
# It's single frontslash for macos instead of double backslash
# need to bind and have an OS switch on main file. [WIP]
#not needed conda install --yes --file requirements.txt -NOPE 2.4.1-beta1
# use .venv lol - NAH -2.4.1-beta2
# reinstall everything, use brew and pyenve jfc. - 2.4.1-beta3
# Create icns
mkdir icoDMG.iconset
sips -z 16 16 icoDMG.png --out icoDMG.iconset/icon_16x16.png
sips -z 32 32 icoDMG.png --out icoDMG.iconset/[email protected]
sips -z 32 32 icoDMG.png --out icoDMG.iconset/icon_32x32.png
sips -z 64 64 icoDMG.png --out icoDMG.iconset/[email protected]
sips -z 128 128 icoDMG.png --out icoDMG.iconset/icon_128x128.png
sips -z 256 256 icoDMG.png --out icoDMG.iconset/[email protected]
sips -z 256 256 icoDMG.png --out icoDMG.iconset/icon_256x256.png
sips -z 512 512 icoDMG.png --out icoDMG.iconset/[email protected]
sips -z 512 512 icoDMG.png --out icoDMG.iconset/icon_512x512.png
cp icoDMG.png icoDMG.iconset/[email protected]
iconutil -c icns icoDMG.iconset
// make app
rm -rf build dist
python mac_py2app_setup.py py2app
// create dmg for dist
dmgbuild -s dmgbuild.py -D filesystem='UDZO' "N8's Video To Gifski 2.5.1" "N8's Video To Gifski 2.5.1.dmg"
# Guide
# For small Transparent GIFs, please double or triple the resolution then scale down to the intended solution in the program to prevent the dither/aliased edges
# 2.5.1
- Adjusted max_width and max_height to both equally 350 to allow buttons from spawning.
(Previously, this was max_width=450, max_height=300)
- Fixed if-else logic that was making the gif preview larger (or smaller) than intended.
#############################
# Batch File process - Yeah i dont know about this one, chief. Maybe queue mode instead of all in one.
# alternative to this is to stop opening a new fucking window after conversion - this is done on 2.2.0
# 2.2.1 updater bugs... Noticed that sometimes it wont start the download... Need to replicate
# Improve debug mode.
# Improve Splash Screen / Loading times
# Explore --one-dir option
# Fix Text/Preview Button
# Rename Save to Quick Export/Convert
# Add text to hint preview
##############################################
# Fill top half to be draggable area
- Done
- 2.5.0
- Need to repurpose update module, (literally redirect to github for new release esp Mac).
- Mac: Done.
- Windows: NOT YET STARTED.
- Need to release as part of Windows as well, and get the update module on that platform to be less aggressive.
- Might rename windows title since we already have version on lower right.
- Done
- Figure out how to make GIFs animate via preview window (the main issue is splitting the gif up without ruining its current state)
- Done
- Add osascript exception (low prio/optional)
- Hovertip Fix for MacOS: https://github.com/python/cpython/issues/120083
- 2.4.1 (OSX)
need to dive into more on https://github.com/Saadmairaj/tkmacosx
KNOWN ISSUES
# tkinterdnd2 is buggy af. Might have to discontinue this if I dont figure out why it's freezing...
- It might also be just a really buggy TCL/TK framework.
- Things to try:
- install OSX-ARM-only tkinterdnd2
- reinistall frameworks and maybe python
- downgrade python version.
Links to get started:
https://github.com/pyenv/pyenv/issues/1375
https://stackoverflow.com/questions/60469202/unable-to-install-tkinter-with-pyenv-pythons-on-macos/60469203#60469203
https://github.com/escoolioinglesias/tkinterdnd2-osxarm64
- turns out. Not buggy. just needs a tkinter.root.update_idletasks() line on settings.window
# rare bug that doesn't change settings_window geometry after applying.
this might be one of those special case that somebody removed python in their laptops.
either way i just gotta package it more properly. i really think there's some mising dependencies
but python isn't flagging it properly.
# using drag and drop, let window stay at top instead of focusing on window (i have no idea what this meant. i just read this just now 7pm fri april 19 2024 gmt+8)
- 2.4.0
# Updated icons
# added RC Versions.
# Easter Egg args.
# add Splash Screen
# Improve debug mode.
# Write rc settings on DevTool
# Optimized code
# Framerate should now be limited to 30 and if framerate is <30, set to that max framerate on settings_window
# Fix Text/Preview Button
# Rename Save to Quick Export/Convert
# Updater ver 1.1.1
# added button framing (still need to test this out)
- 2.3.0
# add loading pop up when commiting vid to png seq
# update video options on button
# main app now detects if updater is old, will attempt to download newest version of updater.
# if media file not selected, dont send message
# add unpremultiply option
# I gotta make the check boxes cleaner so it doesnt get too cluttered.
# for devtool, activate pngtoico script (or just transfer the damn thing to devtool)
#in addition to this, I improved the PNGs. Magick is weird, so now we're using Pillow.
# Add text to hint preview
- 2.2.2
# Disabled auto-running updater
# Disabled unpremultiply filter (for now)
# 2.2.1 updater bugs... Noticed that sometimes it wont start the download... Need to replicate
- 2.2.1
# Fixed auto checking of updates on main.
- 2.2.0
# added file dimension label
#temp gif now also in temp folder
# fixed Open Output folder... Will open if its not present, will bring it to top if it's not active
# Preview then Save causes file incompletion, I need to tell python to let go of the file after copying.
# "loading screen"
#scale fix - sometimes max size doesnt work. tested on 1280x720
# scale widget now does incriments of 1
# debug access (need special instructions)
# figure out to unfreeze on drop
# auto check update on main
# updater 1.1.0
# close main.exe to update successfully
# Changed gui.update to update_idletasks()
# Batch File process - Yeah i dont know about this one, chief. Maybe queue mode instead of all in one.
# alternative to this is to stop opening a new fucking window after conversion - this is done on 2.2.0
- 2.1.0
# add pop up for invalid file names
# get update working
# latest version on update not displaying properly
# impliment Updater on main
# impliment status messages.
# need to impliment updater updater on main (context: main.exe is the updater for updater.exe)
# NEWER WAY TO PARSE DATA FROM EXE TO EXE, CLI commands
# ensure file is video if ever they just renamed the extension