mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
final Linux bugfixes? hopefully
This commit is contained in:
parent
4a76d7d2c4
commit
3f7ba6a4a1
3 changed files with 5 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ RB_METHOD(nikoStart)
|
|||
x += NIKO_X;
|
||||
y += NIKO_Y;
|
||||
char message[32];
|
||||
sprintf(message, "%d,%d", x, y);
|
||||
sprintf(message, "%d,%d\n", x, y);
|
||||
|
||||
SDL_LockMutex(mutex);
|
||||
message_len = strlen(message);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,8 @@ class AnimationTimer(PipeThread):
|
|||
if len(message) > 0:
|
||||
m = message.decode()
|
||||
if not ',' in m: pass
|
||||
x, y = m.split(',')
|
||||
last_line = m.splitlines()[-1]
|
||||
x, y = last_line.split(',')
|
||||
self.start_animation.emit(int(x), int(y))
|
||||
|
||||
while True:
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ for dir in Audio Data Fonts Graphics Languages Wallpaper testing_saves testing_s
|
|||
[ -d "$unix_content_path/$dir/" ] && rsync -a "$unix_content_path/$dir/" "$appdir/usr/bin/$dir/"
|
||||
done
|
||||
find "$appdir/usr/bin" \( -iname '*.bmp' -o -iname 'thumbs.db' -o -iname '*.ini' \) -delete
|
||||
# copyright :(
|
||||
find "$appdir/usr/bin" \( -iname '*.loc' -a \! -iname 'en.loc' \) -delete
|
||||
cp -af "$conan_install_path/bin/Data/xScripts.rxdata" "$appdir/usr/bin/Data/"
|
||||
|
||||
# Create AppImage
|
||||
|
|
|
|||
Loading…
Reference in a new issue