Skip to content

Commit

Permalink
Refactor snapcraft.yaml for devmode testing and additional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
maizied.majumder committed Oct 26, 2024
1 parent 4571312 commit f794b95
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ description: |
Linpad is a lightweight text editor designed for Ubuntu. It includes file handling, syntax highlighting, dark mode, zoom, word count, and replace functionality.
grade: stable
confinement: strict
confinement: devmode # Use devmode for testing; switch back to strict after confirming tkinter works

architectures:
- build-on: amd64
# Uncomment other architectures if needed
# - build-on: arm64
# - build-on: armhf
# - build-on: ppc64el
Expand All @@ -26,6 +27,8 @@ parts:
- python3
- libsqlite3-dev
- libssl-dev
- libtk8.6 # Additional tkinter dependency
- libtcl8.6 # Additional tkinter dependency
override-build: |
snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin
Expand All @@ -41,8 +44,9 @@ apps:
- desktop-legacy
- x11
- wayland
- opengl # Additional plug for display compatibility
- network
- network-bind
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
LANG: C.UTF-8

0 comments on commit f794b95

Please sign in to comment.