final Linux bugfixes? hopefully

This commit is contained in:
Eliza Velasquez 2020-06-17 20:02:33 -07:00
parent 4a76d7d2c4
commit 3f7ba6a4a1
3 changed files with 5 additions and 2 deletions

View file

@ -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);

View file

@ -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:

View file

@ -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