์๋ฅผ ๋ค์ด
$ mkdir ~/AppImage
$ cd ~/AppImage
$ wget -O celestia-1.7.0-git-x86_64.AppImage https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-latest-x86_64.AppImage
$ chmod 755 *.AppImage
AppImage ํ์ผ๊ณผ ๋์ผํ ํด๋์ ์ด์ ๊ฐ๋ฅํ ๊ธฐ๋ณธ ๋ฒ์ ์ข ์ $HOME ๋๋ ํ ๋ฆฌ ์์ฑ
$ mkdir celestia-1.7.home
Celestia ์์ / ๋์๋ง ์ป๊ธฐ (์ ๋ฐ์ดํธ ํ ํ์ผ ์ด๋ฆ์ด ๋ณ๊ฒฝ๋ ์ ์์)
$ ./celestia-1.7.0-git-x86_64.AppImage
$ ./celestia-1.7.0-git-x86_64.AppImage -h
$ wget -O celestia-1.6.2-x86_64.AppImage https://download.opensuse.org/repositories/home:/munix9/AppImage/celestia-latest-x86_64.AppImage
$ chmod 755 *.AppImage
AppImage ํ์ผ๊ณผ ๋์ผํ ํด๋์ ์ด์ ๊ฐ๋ฅํ ๊ธฐ๋ณธ ๋ฒ์ ์ข ์ $HOME ๋๋ ํ ๋ฆฌ ์์ฑ
$ mkdir celestia-1.6.home
Celestia ์์ / ๋์๋ง ์ป๊ธฐ (์ ๋ฐ์ดํธ ํ ํ์ผ ์ด๋ฆ์ด ๋ณ๊ฒฝ๋ ์ ์์)
$ ./celestia-1.6.2-x86_64.AppImage
$ ./celestia-1.6.2-x86_64.AppImage -h
$ wget https://github.com/AppImage/AppImageUpdate/releases/download/continuous/AppImageUpdate-x86_64.AppImage
$ chmod 755 *.AppImage
์ ํ์ ์ผ๋ก AppImage ํ์ผ๊ณผ ๋์ผํ ํด๋์ ์ด์ ๊ฐ๋ฅํ $HOME ๋๋ ํ ๋ฆฌ ์์ฑ
$ mkdir AppImageUpdate-x86_64.AppImage.home
$ wget -O obs-munix9.pub https://build.opensuse.org/projects/home:munix9/public_key
์ ์ญ (AppImageUpdate์ฉ ํด๋์ฉ $HOME ์์)
$ gpg2 --import obs-munix9.pub
AppImageUpdate ์ ์ฉ (ํด๋์ฉ $HOME, ์ ์ฐธ์กฐ)
$ HOME=~/AppImage/AppImageUpdate-x86_64.AppImage.home gpg2 --import obs-munix9.pub
์ค๋๋ ๋ฌผ๊ฑด
๋น๋ ์์คํ :
ํ ์คํธ ์์คํ :
๋ฒ์ : celestia-qt, git master(์ถ๊ฐ ํต/ํจ์น ๋ฐ ์คํ์ด์ค ์ฌ์ฉ ๊ฐ๋ฅ)
AppImage ํ
์คํธ ํ๊ฒฝ์ด ์ด์ OBS์์ github/travis-ci๋ก ์ด๋ํ์ต๋๋ค.
https://github.com/munix9/Celestia (appimage_build ๋ธ๋์น)
์ด์ https://github.com/AppImage/AppImageUpdate ๋ฅผ ํตํด ์ ๋ฐ์ดํธ๊ฐ ๊ฐ๋ฅํฉ๋๋ค.
์์ ๋๋ ํ ๋ฆฌ ์์ฑ(์์์ด๋ฉฐ ๋์ค์ ์ด๋ํ๊ฑฐ๋ ์ด๋ฆ์ ๋ณ๊ฒฝํ ์ ์์)
$ mkdir ~/celestia-app
$ cd ~/celestia-app
https://github.com/munix9/Celestia/releases (์ฐ์ ๋น๋)์์ AppImage ํ์ผ์ ๋ค์ด๋ก๋ํฉ๋๋ค.
$ wget https://github.com/munix9/Celestia/releases/download/continuous/celestia-qt-continuous-x86_64.AppImage
์คํ ๊ฐ๋ฅํ๊ฒ ํ๊ณ
$ chmod 755 celestia-qt-continuous-x86_64.AppImage
$HOME์ผ๋ก ์ฌ์ฉํ ํด๋์ฉ ํ ํด๋ ๋ง๋ค๊ธฐ
$ ./celestia-qt-continuous-x86_64.AppImage --appimage-portable-home
ํํธ: ์ด์ ์ด์ ๊ฐ๋ฅํ $HOME ๋๋ ํ ๋ฆฌ์ ๋ํ ๋์์ด ์์ต๋๋ค. celestia-qt.home
๋ผ๋ ์ด๋ฆ์ ์ฐ๊ธฐ ๊ฐ๋ฅํ ๋๋ ํ ๋ฆฌ๊ฐ AppImage์ ๋์ผํ ํด๋์ ์กด์ฌํ๋ ๊ฒฝ์ฐ ์ด ๋๋ ํ ๋ฆฌ๋ ์ด์ ๊ฐ๋ฅํ $HOME์ผ๋ก ์ ์๋ฉ๋๋ค.
์ด๋ ๊ฒ ํ๋ฉด ์
๋ฐ์ดํธ ํ ๋ค๋ฅธ AppImage ์ด๋ฆ์ ๋ ์ฝ๊ฒ ์ฒ๋ฆฌํ ์ ์์ต๋๋ค.
๋ชจํ์ ์์ํ๋ค
$ ./celestia-qt-continuous-x86_64.AppImage
"์ฑ
๊ฐํผ ์ ์ฅ ์ค๋ฅ" ์ข
๋ฃ ์ "์ฝ๊ธฐ ์ ์ฉ ํ์ผ ์์คํ
" - ํด๊ฒฐ๋จ(#335)
$ mkdir -m 700 ~/celestia-app/celestia-qt-continuous-x86_64.AppImage.home/.config
(celestia-qt:...): Gtk-WARNING **: ...: module_path์์ ํ
๋ง ์์ง์ ์ฐพ์ ์ ์์: "murrine", - ํด๊ฒฐ๋จ, ๋ค์ ๋ฐ์ํ์ง ์์์ผ ํจ
๋จผ์ gtk2-engines-murrine์ ์ค์นํ์ญ์์ค.
$ sudo apt-get install gtk2-engines-murrine
AppImage๊ฐ ์์๋ ๋ GTK_PATH64 ํ๊ฒฝ ๋ณ์๋ฅผ ์์ ์ถ๊ฐํ์ฌ ์๋ฃจ์
$ GTK_PATH64=$GTK_PATH64:/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/ ./celestia-qt-continuous-x86_64.AppImage
๋๋ ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ์์ฑํ์ฌ
$ mkdir -p ~/celestia-app/celestia-qt-continuous-x86_64.AppImage.home/.gtk-2.0/engines
$ ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so ~/celestia-app/celestia-qt-continuous-x86_64.AppImage.home/.gtk-2.0/engines/
์ ๋ ์คํฐ์ ๋ฐฉ์
$ ./celestia-qt-continuous-x86_64.AppImage --celestia-extract-data
done: celestia data extracted to '/home/test/celestia-app/celestia-qt-continuous-x86_64.AppImage.data'
start celestia e.g. with
CELESTIA_DATA_DIR=/home/test/celestia-app/celestia-qt-continuous-x86_64.AppImage.data/ /home/test/celestia-app/celestia-qt-continuous-x86_64.AppImage
AppImage ๋ฐฉ์
$ ./celestia-qt-continuous-x86_64.AppImage --appimage-extract
$ mv squashfs-root/usr/share/celestia/ my-data
$ rm -r squashfs-root
์ด์ celestia๋ ๋์ฒด ๋ฐ์ดํฐ ๊ฒฝ๋ก๋ก ์์ํ ์ ์์ต๋๋ค.
$ CELESTIA_DATA_DIR=~/celestia-app/my-data/ ./celestia-qt-continuous-x86_64.AppImage
์
๋ฐ์ดํธ๋ฅผ ์ํํ๋ ์ ์ฐจ๋ ์์ง ๊ฒํ ์ค์
๋๋ค. ์ค๋ช
์ด ์์ ๋๊น์ง AppImage๋ AppImageUpdate๋ก ์
๋ฐ์ดํธํ ์ ์์ต๋๋ค.
ํํธ:
์ง๊ธ์ ๊ทธ๊ฒ๋ฟ์
๋๋ค.
์ฌ์ฉ์ ์ง์ AppRun ์คํฌ๋ฆฝํธ์ ๊ฒฝ์ฐ์ฒ๋ผ ๋ค๋ฆฝ๋๊น?
์ฌ์ฉ์ ์ง์ AppRun ์คํฌ๋ฆฝํธ์ ๊ฒฝ์ฐ์ฒ๋ผ ๋ค๋ฆฝ๋๊น?
์ฃ์กํฉ๋๋ค. ์ดํด๊ฐ ๋์ง ์์ต๋๋ค. ์กฐ๊ธ ์ค๋ช ํด ์ฃผ์๊ฒ ์ต๋๊น?
#335๋ฅผ ๋ณํฉํ๋ฉด ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
$HOME์ผ๋ก ์ฌ์ฉํ ํด๋์ฉ ํ ํด๋ ๋ง๋ค๊ธฐ
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-home
$XDG_CONFIG_HOME์ผ๋ก ์ฌ์ฉํ ํด๋์ฉ ๊ตฌ์ฑ ํด๋๋ฅผ ๋ง๋ญ๋๋ค.
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-config
์ด:
"์ฑ ๊ฐํผ ์ ์ฅ ์ค ์ค๋ฅ ๋ฐ์" ์ข ๋ฃ ์ "์ฝ๊ธฐ ์ ์ฉ ํ์ผ ์์คํ "
$ mkdir -m 700 ~/celestia-app/celestia-qt-latest-x86_64.AppImage.home/.config
๋ ์ด์ ํ์ํ์ง ์์ต๋๋ค (๋ด ์๊ฐ๋ฝ์ ๊ต์ฐจ :))
์ฃ์กํฉ๋๋ค. ์ดํด๊ฐ ๋์ง ์์ต๋๋ค. ์กฐ๊ธ ์ค๋ช ํด ์ฃผ์๊ฒ ์ต๋๊น?
๊ทํ๊ฐ ์์ฑํ ๋ด์ฉ์์ ์ฌ์ฉ์๋ ์ด ์์
์ ์ํํ๊ธฐ ์ํด ํน์ ํ๊ฒฝ ๋ณ์๋ฅผ ๋ด๋ณด๋ด์ผ ํ๋ ๊ฒ์ฒ๋ผ ๋ณด์
๋๋ค. ๋ด๊ฐ ๊ฐ๋ฆฌํค๊ณ ์ถ์ ๊ฒ์ AppRun
. ์ด ํ์ผ์ ํ์ํ ํ๊ฒฝ ๋ณ์๋ฅผ ๋ด๋ณด๋ด๋ ๊ณ ์ ํ ์คํฌ๋ฆฝํธ๋ฅผ ์์ฑํ๋ ๋ฐ ์ฌ์ฉํ ์ ์๋ AppImage ๋ด๋ถ์ ํ์ผ์
๋๋ค.
๋งํ์ ๊ตฌ์ฒด์ ์ธ ๋์์ด ํ์ํ๋ฉด ์๋ ค์ฃผ์ญ์์ค.
#335๋ฅผ ๋ณํฉํ๋ฉด ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
$HOME์ผ๋ก ์ฌ์ฉํ ํด๋์ฉ ํ ํด๋ ๋ง๋ค๊ธฐ
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-home
$XDG_CONFIG_HOME์ผ๋ก ์ฌ์ฉํ ํด๋์ฉ ๊ตฌ์ฑ ํด๋๋ฅผ ๋ง๋ญ๋๋ค.
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-config์ด:
"์ฑ ๊ฐํผ ์ ์ฅ ์ค ์ค๋ฅ ๋ฐ์" ์ข ๋ฃ ์ "์ฝ๊ธฐ ์ ์ฉ ํ์ผ ์์คํ "
$ mkdir -m 700 ~/celestia-app/celestia-qt-latest-x86_64.AppImage.home/.config๋ ์ด์ ํ์ํ์ง ์์ต๋๋ค (๋ด ์๊ฐ๋ฝ์ ๊ต์ฐจ :))
์ฐธ๊ณ :
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-home
$ ./celestia-qt-latest-x86_64.AppImage --appimage-portable-config
๋ฌธ์ ๋ ์ค๋ฅ์ ๊ด๋ จ์ด ์์ผ๋ฉฐ, ๋ฐ๋๋ก $HOME/, $HOME/.config, $HOME/.local์ด ์๋๋ผ ์์์ ์ธ๊ธํ ์ด๋์ ๋๋ ํ ๋ฆฌ ์๋์ ๊ตฌ์ฑ ๋ฑ์ ์ ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ ์ ๊ณตํฉ๋๋ค.
์ฃ์กํฉ๋๋ค, ๊ทธ๋ผ ์ ๊ฐ ์คํดํ์ต๋๋ค. ์ค์ ๋ก ๋ค์ 3๋จ๊ณ๋งํผ ๊ฐ๋จํฉ๋๋ค.
wget -c https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-qt-latest-x86_64.AppImage # Download
chmod +x celestia-qt-latest-x86_64.AppImage # Make executable
./celestia-qt-latest-x86_64.AppImage # Run
Xubuntu 18.04์์ ์คํ ์ค์ ๋๋ค.
__๋ฉ์ ธ!__ :+1:
์ฃ์กํฉ๋๋ค. ์ดํด๊ฐ ๋์ง ์์ต๋๋ค. ์กฐ๊ธ ์ค๋ช ํด ์ฃผ์๊ฒ ์ต๋๊น?
๊ทํ๊ฐ ์์ฑํ ๋ด์ฉ์์ ์ฌ์ฉ์๋ ์ด ์์ ์ ์ํํ๊ธฐ ์ํด ํน์ ํ๊ฒฝ ๋ณ์๋ฅผ ๋ด๋ณด๋ด์ผ ํ๋ ๊ฒ์ฒ๋ผ ๋ณด์ ๋๋ค. ๋ด๊ฐ ๊ฐ๋ฆฌํค๊ณ ์ถ์ ๊ฒ์
AppRun
. ์ด ํ์ผ์ ํ์ํ ํ๊ฒฝ ๋ณ์๋ฅผ ๋ด๋ณด๋ด๋ ๊ณ ์ ํ ์คํฌ๋ฆฝํธ๋ฅผ ์์ฑํ๋ ๋ฐ ์ฌ์ฉํ ์ ์๋ AppImage ๋ด๋ถ์ ํ์ผ์ ๋๋ค.๋งํ์ ๊ตฌ์ฒด์ ์ธ ๋์์ด ํ์ํ๋ฉด ์๋ ค์ฃผ์ญ์์ค.
https://build.opensuse.org/project/show/OBS :AppImage๋ฅผ ์ ๋ฆฌํ๊ณ ์ ๋ฒ์ ์ ์ค์นํ๊ณ ๊ธฐ์กด์ ํด๊ฒฐํ ์ ์๋/์คํจํ/๊นจ์ง ๋น๋๋ฅผ ์์ ํ๋ ๊ฒ์ ํ์คํ ์ด์ ์ด ๋ ๊ฒ์
๋๋ค.
ํ์ง๋ง ๋ด๋นํ๋ ๋ค๋ฅธ ์ฌ๋๋ค์ด ์์ต๋๋ค. ์๋ง๋ ๋ฒ๊ทธ ํญ๋ชฉ์ ๋ง๋ค ๊ฒ์
๋๋ค.
๋๋ ๋ํ AppImageUpdate๊ฐ OBS์ ์ํด ์์ฑ๋ AppImages์ ํจ๊ป ์ฌ๋ฐ๋ฅด๊ฒ ์๋ํ์ง ์๋๋ค๋ ๊ฒ์ ์์์ฐจ๋ ธ์ง๋ง, ๋๋ ๊ทธ๊ฒ์ ๋ํด ๋ ์์ธํ ์ดํด๋ณผ ํ์๊ฐ ์์ต๋๋ค.
libmurrine.so์ ๋ฌธ์ ๋ ์ฑ๊ฐ์ ์ผ์ด์ง๋ง ๊ฐ๋ฅํ ํ ๋ง์ ํ๋ซํผ์์ ์ฌ์ฉ์์ ๋ํ ์ถ๊ฐ ํ ์คํธ๋ฅผ ๊ธฐ๋ค๋ ค์ผ ํฉ๋๋ค.
๋ฌธ์ ๋ ์ค๋ฅ์ ๊ด๋ จ์ด ์์ผ๋ฉฐ, ๋ฐ๋๋ก $HOME/, $HOME/.config, $HOME/.local์ด ์๋๋ผ ์์์ ์ธ๊ธํ ์ด๋์ ๋๋ ํ ๋ฆฌ ์๋์ ๊ตฌ์ฑ ๋ฑ์ ์ ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ ์ ๊ณตํฉ๋๋ค.
๋ช ์ ์ ์ผ๋ก ํด๋น ๋๋ ํ ๋ฆฌ๋ฅผ ๋ง๋ค์ง ์์ผ๋ฉด appimage๊ฐ ๊ธฐ๋ณธ $ HOME ๋ฑ์ ์ฌ์ฉํ๊ธฐ ๋๋ฌธ์ ๋น์ ์ด ์ณ์ ๊ฒ ๊ฐ์ต๋๋ค.
๊ทธ๋ฌ๋ ์์งํ ๋งํด์ --appimage-portable-config
๋ ๊ธฐ๋ณธ $XDG_CONFIG_HOME
์ด ์๋ ์ฌ์ฉ์์๊ฒ๋ง ํ์ํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ appimage์๋ $XDG_DATA_HOME
์ฌ์ ์ ์๋จ์ด ์์ต๋๋ค.
๋ ๊ฐ์ง ๋ค๋ฅธ ์ ๋ฐ์ดํฐ ๋๊ตฌ๋ก ์๋ํ์ง๋ง ๋ ๋ค ์ฌ๋ฐ๋ฅด๊ฒ ์ ๋ฐ์ดํธํ ์ ์์์ต๋๋ค.
https://github.com/AppImage/AppImageUpdate
https://github.com/antony-jr/AppImageUpdater
์ด ๋ฉ์์ง๋ ์ค์ ๋ก ๋งค์ฐ ์ ์ฉํ @antony-jr์ ๋๋ค. ์ฐ๋ฆฌ๋ ๋ณผ ์์๋ค:
me<strong i="15">@host</strong>:~$ strings Downloads/celestia-qt-0-Build160.1.glibc2.14-x86_64.AppImage | strings | grep zsync
zsync|https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-qt-latest-x86_64.AppImage.zsync
(...)
me<strong i="16">@host</strong>:~$ wget https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-qt-latest-x86_64.AppImage.zsync
--2019-08-04 20:57:11-- https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-qt-latest-x86_64.AppImage.zsync
(...)
HTTP request sent, awaiting response... 302 Found
Location: http://downloadcontent.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-qt-0-Build160.1.glibc2.14-x86_64.AppImage.zsync [following]
๋ฐ๋ผ์ https://download.opensuse.org์ ๋ฒ๊ทธ๊ฐ ์์ด https๊ฐ ์๋ http๋ก ๋ฆฌ๋๋ ์ ๋๋ ๊ฒ ๊ฐ์ต๋๋ค. ์ด๊ฒ์ ์๋ํ๋ ๋ฐ ์ฌ์ฉ๋์์ต๋๋ค. ๊ทธ๋์ ์ต๊ทผ์ ๋์ ๋ ๋ฒ๊ทธ๋ผ๊ณ ์๊ฐํฉ๋๋ค.
cc @AdrianSchroeter
appimage์๋ $XDG_DATA_HOME์ ์ฌ์ ์ํ ์๋จ์ด ์์ต๋๋ค.
์ถ๊ฐํด์ผ ํ๋ค๊ณ ์๊ฐํ์ญ๋๊น?
๋ ๊ฐ์ง ๋ค๋ฅธ ์ ๋ฐ์ดํฐ ๋๊ตฌ๋ก ์๋ํ์ง๋ง ๋ ๋ค ์ฌ๋ฐ๋ฅด๊ฒ ์ ๋ฐ์ดํธํ ์ ์์์ต๋๋ค.
https://github.com/AppImage/AppImageUpdate
https://github.com/CelestiaProject/Celestia/issues/333#issuecomment -518027817
๋ต ๊ทธ๋ฐ ์๊ฐ์ ํ๊ณ ์์๋๋ฐ ํ ์คํธํด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค.
celestia์ ๊ฒฝ์ฐ AppImageUpdate๊ฐ ๋งค์ฐ ์ ์ฉํ๋ฏ๋ก ๋ชจ๋ ๋น๋์ ํจ๊ป ์ ์ฒด ํจํค์ง๋ฅผ ๋ค์ด๋ก๋ํ ํ์๊ฐ ์์ต๋๋ค.
celestia์ ๊ฒฝ์ฐ AppImageUpdate๊ฐ ๋งค์ฐ ์ ์ฉํ๋ฏ๋ก ๋ชจ๋ ๋น๋์ ํจ๊ป ์ ์ฒด ํจํค์ง๋ฅผ ๋ค์ด๋ก๋ํ ํ์๊ฐ ์์ต๋๋ค.
๋ฌผ๋ก ! :+1:
appimage์๋ $XDG_DATA_HOME์ ์ฌ์ ์ํ ์๋จ์ด ์์ต๋๋ค.
์ถ๊ฐํด์ผ ํ๋ค๊ณ ์๊ฐํ์ญ๋๊น?
์ด๊ฒ์ ๋์๊ฒ ๋ ผ๋ฆฌ์ ์ผ๋ก ๋ค๋ฆฐ๋ค.
์์ฉ ํ๋ก๊ทธ๋จ ๋ด๋ถ์ ์ ๋ฐ์ดํธ ํ๋ก๊ทธ๋จ์ ์ฌ์ฉํ๋ ๋ฐ ๊ด์ฌ์ด ์์ผ์ญ๋๊น? ๊ทธ๊ฒ์ ํ ์์๋ Qt ํ๋ฌ๊ทธ์ธ์ด ์์ต๋๋ค. https://github.com/TheFutureShell/updatedeployqt cc @antony-jr
์์ฉ ํ๋ก๊ทธ๋จ ๋ด๋ถ์ ์ ๋ฐ์ดํธ ํ๋ก๊ทธ๋จ์ ์ฌ์ฉํ๋ ๋ฐ ๊ด์ฌ์ด ์์ผ์ญ๋๊น? ๊ทธ๊ฒ์ ํ ์์๋ Qt ํ๋ฌ๊ทธ์ธ์ด ์์ต๋๋ค. https://github.com/TheFutureShell/updatedeployqt cc @antony-jr
ํฅ๋ฏธ๋กญ๊ฒ ๋ค๋ฆฝ๋๋ค. ์์ธํ ์ดํด๋ณด๊ฒ ์ต๋๋ค.
@munix9 ์ ๋ฐ์ดํธ ํ๋ก๊ทธ๋จ์ ์์ฉ ํ๋ก๊ทธ๋จ์ ํตํฉํ๋ ค๋ฉด ์ ์๊ฒ ์๋ ค์ฃผ์ญ์์ค. ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋๋ Qt ํ๋ฌ๊ทธ์ธ์ผ๋ก ์ฌ์ฉํ์ฌ ์์ฒด ์ ๋ฐ์ดํธ๋ฅผ ์ํํ ์ ์๋ https://antony-jr.github.io/AppImageUpdaterBridge ๋ฅผ ์ฌ์ฉํ ์๋ ์์ต๋๋ค. ์์ ํ Qt๋ก ์์ฑ๋์์ผ๋ฉฐ ์ด๋ฒคํธ ๋ฃจํ๋ฅผ ์กด์คํฉ๋๋ค.
์ถ์ : updatedeployqt๋ ์์ง ์ํ ๋จ๊ณ์ด๋ฉฐ ๋งค์ฃผ ์ฌ์ฅ ์์ ์ ๋ฐ๊ธฐ ๋๋ฌธ์ ์ถ์ฒํ ์์ ์ด ์์ต๋๋ค.
@munix9 ์ ๋ฐ์ดํธ๊ฐ ์ด๋ป๊ฒ ์๋ํ๋์ง ์๊ณ ์ถ๋ค๋ฉด qtox์์ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์ง ํ์ธ ํ์ธ์ ->
๋ค์ด๋ก๋ ํ ์ผ๋ถ ๊ฐ๋น์ง ๋ฐ์ดํฐ๋ฅผ ์ถ๊ฐํ์ฌ ์ ๋ฐ์ดํธ๋ฅผ ํธ๋ฆฌ๊ฑฐํ๊ณ ,
$ echo "changes" >> qTox-*-x86_64.AppImage
$ ./qTox-*-x86_64.AppImage
์ค์ -> ์ ๋ณด -> ์ ๋ฐ์ดํธ ๊ฐ๋ฅ์ผ๋ก ์ด๋ํฉ๋๋ค(์๊ฐ์ด ์ง๋๋ฉด ๋ฒํผ์ด ๋ํ๋ฉ๋๋ค).
์ฐธ๊ณ : https://github.com/antony-jr/updatedeployqt ๋ฅผ ์ฌ์ฉํ์ฌ ์
๋ฐ์ดํธ ์ต์
์ ํ
์คํธํ์ต๋๋ค("1" ํ๊ทธ, "์ฐ์" ํ๊ทธ๋ ํ์ฌ ์๋ํ์ง ์๋ ๊ฒ ๊ฐ์ต๋๋ค).
๋์๋ง ๋ฉ๋ด์ QObject ์ด๋ฆ์ ํ ๋นํ๋ ๊ฒ์ ์ ์ธํ๊ณ ๋ ํตํฉ ์
๋ฐ์ดํธ ๊ธฐ๋ฅ์ ์ํํด ๋ณผ ์ ์๋ ๋น ๋ฅด๊ณ ์ฌ์ด ๋ฐฉ๋ฒ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค. ์ฝ๋๋ฅผ ๋ณ๊ฒฝํ ํ์๊ฐ ์์ต๋๋ค.
AppImageUpdaterBridge๋ ํฅ๋ฏธ๋ก์ด ๋์์ธ ๊ฒ ๊ฐ์ต๋๋ค. ๋ฏธ๋๊ฐ ์ด๋ป๊ฒ ๋ ์ง ๋ด
์๋ค.
https://github.com/munix9/Celestia/releases/tag/continuous
https://github.com/munix9/Celestia/blob/appimage_build/dist/appimage/fix-appimage_dir.patch#L43
๋์๋ง ๋ฉ๋ด์ ๋ํ QObject ์ด๋ฆ ํ ๋น์ ์ ์ธํ๊ณ .
ํ๋ก๊ทธ๋จ์์ ๋ชจ๋ QMenu ๊ฐ์ฒด ๋๋ QAction ๊ฐ์ฒด์ ํ์ ๋ฌธ์์ด์ ์ผ์น์ํฌ ์๋ ์์ต๋๋ค.
ํธ์ง : ๋๋ ์ ๋ง๋ก ์๊ฐ์ด ์๊ธฐ ๋๋ฌธ์ ๋ฌธ์๋ฅผ ์ถ๊ฐํ์ง ์์๊ณ (๊ทธ๋ฌ๋ ๋๋ ๋งค์ฐ ํฅ๋ถํ์ต๋๋ค) ๋๊ตฌ๊ฐ ์์ง ์ํ ๋ฒ์ ์ด๋ฏ๋ก ์ฃผ์ ๋ณ๊ฒฝ ์ฌํญ์ ์์ง ์ค์ง ์์์ต๋๋ค.
@munix9 ์ ๋ฐ์ดํฐ๋ ์ ์ชฝ์์ ์ ์๋ํฉ๋๋ค. :+1:
๋์๋ง ๋ฉ๋ด์ ๋ํ QObject ์ด๋ฆ ํ ๋น์ ์ ์ธํ๊ณ .
ํ๋ก๊ทธ๋จ์์ ๋ชจ๋ QMenu ๊ฐ์ฒด ๋๋ QAction ๊ฐ์ฒด์ ํ์ ๋ฌธ์์ด์ ์ผ์น์ํฌ ์๋ ์์ต๋๋ค.
ํธ์ง : ๋๋ ์ ๋ง๋ก ์๊ฐ์ด ์๊ธฐ ๋๋ฌธ์ ๋ฌธ์๋ฅผ ์ถ๊ฐํ์ง ์์๊ณ (๊ทธ๋ฌ๋ ๋๋ ๋งค์ฐ ํฅ๋ถํ์ต๋๋ค) ๋๊ตฌ๊ฐ ์์ง ์ํ ๋ฒ์ ์ด๋ฏ๋ก ์ฃผ์ ๋ณ๊ฒฝ ์ฌํญ์ ์์ง ์ค์ง ์์์ต๋๋ค.
@munix9 ์ ๋ฐ์ดํฐ๋ ์ ์ชฝ์์ ์ ์๋ํฉ๋๋ค. +1
๋ ์ ํด๊ฒฐ๋ ์ ์๋ ๊ฒ:
์
๋ฐ์ดํธ๋ฅผ ์ฌ์ฉํ ์ ์๋ ๊ฒฝ์ฐ ์ ํ์ผ์ ์ด๋ฆ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
celestia-qt-continuous-x86_64-revised-on-2019-08-29T10-57-48.AppImage
์ด๊ฒ์ ๊ธฐ์กด ๋๋ ํ ๋ฆฌ๋ฅผ
celestia-qt-continuous-x86_64.AppImage.config
celestia-qt-continuous-x86_64.AppImage.home
์๋์ผ๋ก ์ด๋ฆ์ด ๋ฐ๋์ง ์๊ธฐ ๋๋ฌธ์ ๋ ์ด์ ์ฌ์ฉ๋์ง ์์ต๋๋ค.
์ด์ ๋ํ ํด๊ฒฐ์ฑ ์ด ์์ต๋๊น?
๋ ์ ํด๊ฒฐ๋ ์ ์๋ ๊ฒ:
์ ๋ฐ์ดํธ๋ฅผ ์ฌ์ฉํ ์ ์๋ ๊ฒฝ์ฐ ์ ํ์ผ์ ์ด๋ฆ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.celestia-qt-continuous-x86_64-revised-on-2019-08-29T10-57-48.AppImage
@munix9 ์ฌ์ค ์
๋ฐ์ดํฐ๋ ๋์ ํ์ผ๋ช
์ด ์๋ ํ์ผ์ด ์์ ๋๋ง ์ด๋ฆ์ .zs_old
ํ์ฅ์๋ก ์ฎ๊ฒจ ์ง๋๋ฐ ๊ตฌ๋ฒ์ ์ ๊ฑด๋๋ฆฌ์ง ์๊ณ ์ฌ์ฉ์๋ค์ด ์ฒ๋ฆฌํด. ๊ทธ๋ฌ๋ ์ด ์ถฉ๋์ด ๋ฐ์ํ๋ฉด ์ด์ ํ์ผ์ ์ญ์ ํ๋ ์ต์
์ ์ถ๊ฐํ๊ฑฐ๋ ๊ณต์ ์
๋ฐ์ดํฐ๊ฐ ํ๋ ๊ฒ์ฒ๋ผ ์ด๋ฆ์ ๋ฐ๊ฟ ์ ์์ต๋๋ค.
๋ํ ํ์ฅ์๊ฐ .zs_old
์ธ ์ด์ ๋ฒ์ ์ ๊ณ์ ์ด๋ํ๋ฉด ๊ทธ๋ฌํ ๋ค๋ฅธ ๋ฒ์ ์ ์์ํ ์์ค๋ฉ๋๋ค. AppImage๊ฐ ๊ทํ์ ๊ฒฝ์ฐ์ ๊ฐ์ด ๋ชจ๋ ๋ฆด๋ฆฌ์ค์ ๋ํด ๋์ผํ ์ด๋ฆ์ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ.
์ฐ์ ๋ค์ ์ค ํ๋๋ง ์ฌ์ฉํด์ผ ํฉ๋๋ค.
celestia-qt-continuous-x86_64.AppImage.config
celestia-qt-continuous-x86_64.AppImage.home
์ผ๋ฐ์ ์ผ๋ก ์ด์ ๊ฐ๋ฅํ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋ฒ์ ๋ณ๋ก ๊ตฌ์ฑ์ ์ ์งํด์ผ ํ๋ฏ๋ก ์ฌ์ฉ์๋ ์๋ก ๊ฐ์ญํ์ง ์๊ณ ๋์ผํ ์์ฉ ํ๋ก๊ทธ๋จ์ ์ฌ๋ฌ ๋ฒ์ ์ ํจ๊ป ์คํํ ์ ์์ต๋๋ค. ๋ค๋ฅธ ๋ฒ์ ์ ์ ํ๋ฆฌ์ผ์ด์
์ด ๋์ผํ ๊ตฌ์ฑ ์ธํธ๋ฅผ ๊ณต์ ํ๋๋ก ํ๋ ค๋ฉด ์ฌ์ฉ์ ์ ์ AppRun
์ผ๋ถ๋ก (ํ
์คํธ๋์ง ์์ ์์ฌ ์ฝ๋) ๋ค์๊ณผ ๊ฐ์ด ํ ์ ์์ต๋๋ค.
VERSIONLESSHOME=$(dirname "$APPIMAGE")/celestia.home
if [ -d "$VERSIONLESSHOME" ] ; then
export HOME=$VERSIONLESSHOME
fi
๊ทธ๋ฐ ๋ค์ AppImage์ ํ์ผ ์ด๋ฆ๊ณผ ๊ด๊ณ์์ด celestia.home
์์ผ๋ฉด
์ด๊ฒ ๋ง์ด ๋ผ?
์, AppImage.home
์ด๋ฉด ์ถฉ๋ถํฉ๋๋ค.
๋๋ ์ด๋ฏธ AppRun์์ ์ ์์ ๊ณ ๋ คํ๊ณ ํ
์คํธํ์ต๋๋ค.
๊ฒฝ์ฐ ์ด์ฉ๋ฉด ๋์ฒดํ์ฌ, version-AppImage.home
ํ์ฌ ๋ฒ์ ์ ์กด์ฌํ์ง ์๋, ๋ค์ ์ฌ์ฉํ๋ ์ผ๋ฐ AppImage.home
๊ฐ๋ฅํ ๊ฒฝ์ฐ - ๋น์ ์ด ์ ์ํ๋ ๊ฒ๊ณผ ์ ์ฌ.
์ด๊ฒ์ ์๋ฏธ๊ฐ ์์ ์ ์์ต๋๋ค.
์ ์ ๋ค๋ก๋ถํฐ ๊ณต๊ฐ์ ์ธ ํผ๋๋ฐฑ์ด ์๋์ง ์ดํด๋ณด์.
์๋
ํ์ญ๋๊น,
์ ๋์จ์ ๋ฃ์ด๋ ๋ ๊น์? ๊ทธ๋ ๋ค๋ฉด ์ด๋ค ๋๋ ํ ๋ฆฌ์ ์์ต๋๊น?
๊ฐ์ฌํฉ๋๋ค
@Amich-26 Celestia 1.7์ ~/.celestia.cfg
์์ผ๋ฉด ์ฝ์ต๋๋ค.
ํ์ผ์์ ์ ๋์จ์ด ์๋ ๋๋ ํ ๋ฆฌ์ ํจ๊ป ExtrasDirectories
๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค.
{
ExtrasDirectories [ "extras-standard" "extras" "~/celestia"]
}
์ถ๊ฐ ๋๋ ํ ๋ฆฌ๋ฟ๋ง ์๋๋ผ ๋ชจ๋ ๋๋ ํ ๋ฆฌ๊ฐ ๋์ด๋์ด์ผ ํฉ๋๋ค.
์ค์ ๋ก @munix9 ๋ celestia.cfg
๋ํ ํจ์น๋ฅผ ์ถ๊ฐํ๋ฏ๋ก ~/.celestia
๋ฅผ ์ฌ์ฉํ์ฌ ์ ๋์จ์ ๋ฃ์ ์ ์์ต๋๋ค.
AppImage์ ํฌํจ๋ ๋ฐ์ดํฐ๋ฅผ ์ถ์ถํ๋ ๊ฒ๋ ๊ฐ๋ฅํฉ๋๋ค.
./celestia-1.7.0-git-x86_64.AppImage --celestia-extract-data
๊ทธ๋ฐ ๋ค์ ์์ฑ๋ ํด๋์ ์ ๋์จ์ ๋ฐฐ์นํ ๋ค์ CELESTIA_DATA_DIR=<dir> ./celestia-1.7.0-git-x86_64.AppImage
์ฌ์ฉํ์ฌ ์์ํ ์ ์์ต๋๋ค.
./celestia-1.7.0-git-x86_64.AppImage -h
Celestia 1.7.0~git - Real-time visual space simulation
Usage: ./celestia-1.7.0-git-x86_64.AppImage [OPTION]...
CELESTIA_DATA_DIR=<dir> ./celestia-1.7.0-git-x86_64.AppImage [OPTION]...
Celestia options:
--conf <file>
Alternate configuration file.
--dir <dir>
Alternate installation directory.
The same can also be achieved with
CELESTIA_DATA_DIR=<dir> ./celestia-1.7.0-git-x86_64.AppImage
--extrasdir <dir>
Additional 'extras' directory.
--fullscreen
Start full-screen (not implemented yet).
-l, --log <file>
Copy console output into a file.
-s, --nosplash
Disable splash screen (not implemented yet).
-u, --url <url>
Start with the given URL (not implemented yet).
--help
Show celestia help (not implemented yet).
AppImage options:
--celestia-fisheye
Start celestia with fisheye projection (celestia-fisheye.cfg)
--celestia-create-general-home
Create a general home directory depending on the main version
/tmp/celestia-1.7.home
--celestia-extract-data
Extract the embedded data in the directory
/tmp/celestia-1.7.0-git-x86_64.AppImage.data
-h, --celestia-help
Show this help and exit.
๊ฐ์ฌํฉ๋๋ค ! ํจ๊ณผ๊ฐ์๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
ํฅ๋ฏธ๋กญ๊ฒ ๋ค๋ฆฝ๋๋ค. ์์ธํ ์ดํด๋ณด๊ฒ ์ต๋๋ค.