Skip to content

Instantly share code, notes, and snippets.

View EvilSupahFly's full-sized avatar
🧙‍♂️
Trying to make Flatpak and Python play nice with Amulet

EvilSupahFly EvilSupahFly

🧙‍♂️
Trying to make Flatpak and Python play nice with Amulet
View GitHub Profile
@EvilSupahFly
EvilSupahFly / Flatpak Extra Output
Last active July 20, 2025 11:58
pre-run-flatpak.log
flatpak run --ostree-verbose -vv --command=amulet_map_editor --devel --filesystem=/home/seann/experimental-flatpak/amulet-flatpak-testing io.github.evilsupahfly.amulet_flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: using fuse: 0
F: Opening system flatpak installation at path /var/lib/flatpak
F: using fuse: 0
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
F: Skipping parental controls check for app/io.github.evilsupahfly.amulet_flatpak/x86_64/master since parental controls are disabled globally
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
@EvilSupahFly
EvilSupahFly / do_this.sh
Created July 19, 2025 01:09
My Flatpak Automation Script
#!/bin/bash
## Colour Definitions
GRN="\033[1m\033[1;92m" # Green
NRM="\033[0m" # Normal
PRP="\033[1m\033[35m" # Magenta (Purple)
RED="\033[1m\033[1;91m" # Red
WHT="\033[1m\033[1;97m" # White
YLW="\033[1m\033[1;33m" # Yellow
@EvilSupahFly
EvilSupahFly / preinst
Last active July 8, 2025 00:31
QNAP Qfinder Pro - Ubuntu Installer Fix
#!/bin/bash
# Don't need change version manually, it will be modified by build.sh
VERSION=7.12.3.0527
APP_NAME_VERSION="Qfinder Pro "${VERSION}
MIN_VER_STR="18.04"
MAX_VER_STR=""
function CompareNum(){
arg1=$1
@EvilSupahFly
EvilSupahFly / chroot_archives
Created May 19, 2025 02:13
chroot_archives
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
> python -m amulet_map_editor amulet-debug
DEBUG: debug_file_access.py this line comes after "import os, pathlib, traceback, builtins, logging, platformdirs, inspect, threading, traceback" is called on line 1.
amulet_map_editor/debug_file_access.py:L186: DEBUG: start_monitoring called
DEBUG: ACCESS_LOG_FILE is /home/seann/.var/app/io.github.evilsupahfly.amulet_flatpak/.local/state/AmuletMapEditor/log/debug_file_access.log
DEBUG: FileHandler created successfully
DEBUG: Formatter set successfully
DEBUG: Handler added to logger successfully
DEBUG: _logger_ready set to True
DEBUG: start_monitoring finally block complete
DEBUG: logger.handlers = [<FileHandler /home/seann/.var/app/io.github.evilsupahfly.amulet_flatpak/.local/state/AmuletMapEditor/log/debug_file_access.log (NOTSET)>]
@EvilSupahFly
EvilSupahFly / Jesus-DnD.md
Created April 21, 2025 23:40
The Ultimate "Jesus Christ as a Playable Character in D&D" Build

This is split it into two versions: Pre-Easter Jesus (as the mortal, incarnate figure actively ministering) and Post-Easter Jesus (as the risen, glorified, divine being). Both rooted in lore, but mechanically unique.


Version 1: Pre-Easter Jesus (The Incarnate Teacher, Healer, and Prophet)

“The Word became flesh and made his dwelling among us.”
– John 1:14

Core Themes:

@EvilSupahFly
EvilSupahFly / flatpak_output.log
Last active April 21, 2025 22:31
flatpak_output.log
> flatpak list --app --columns=name,application,runtime
Name Application ID Runtime
calibre com.calibre_ebook.calibre org.freedesktop.Platform/x86_64/24.08
Flatseal com.github.tchx84.Flatseal org.gnome.Platform/x86_64/47
Blastem com.retrodev.blastem org.freedesktop.Platform/x86_64/24.08
VisualBoyAdvance-M com.vba_m.visualboyadvance-m org.freedesktop.Platform/x86_64/23.08
amulet_flatpak io.github.evilsupahfly.amulet_flatpak org.freedesktop.Platform/x86_64/24.08
Flatsweep io.github.giantpinkrobots.flatsweep org.gnome.Platform/x86_64/47
PeaZip io.github.peazip.PeaZip
app-id: io.github.evilsupahfly.amulet_flatpak
#name: Amulet Map Editor
#version: 0.10.41
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: amulet
finish-args:
- --device=all
@EvilSupahFly
EvilSupahFly / debug_file_access.log
Created April 6, 2025 19:12
debug_file_access.log
2025-04-06 15:06:55,619 - INFO - amulet_map_editor/debug_file_access.py: File access logging started.
Access Log file: /home/seann/.var/app/io.github.evilsupahfly.amulet_flatpak/.local/state/AmuletMapEditor/log/debug_file_access.log
2025-04-06 15:06:55,619 - INFO - amulet_map_editor/debug_file_access.py: debug_file_access successfully imported and executing.
2025-04-06 15:06:55,619 - INFO - amulet_map_editor/debug_file_access.py: open is wrapped: True
2025-04-06 15:06:55,619 - INFO - amulet_map_editor/debug_file_access.py: os.path.exists is wrapped: True
2025-04-06 15:06:55,619 - INFO - amulet_map_editor/debug_file_access.py: os.listdir is wrapped: True
@EvilSupahFly
EvilSupahFly / flatpak_debug.log
Created April 3, 2025 23:02
flatpak_debug.log
./do-fp-shell.sh amulet_map_editor
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: using fuse: 0
F: Opening system flatpak installation at path /var/lib/flatpak
F: using fuse: 0
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
F: Skipping parental controls check for app/io.github.evilsupahfly.amulet_flatpak/x86_64/master since parental controls are disabled globally
F: Opening user flatpak installation at path /home/seann/.local/share/flatpak
F: using fuse: 0