From cbe33ab5fe2f0d2aeb2dbf6f361834a126bd473c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 21 Feb 2024 15:26:03 -0600 Subject: try a build script for go-gui-toolkit package --- stateWindow.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'stateWindow.go') diff --git a/stateWindow.go b/stateWindow.go index cb03e01..857d795 100644 --- a/stateWindow.go +++ b/stateWindow.go @@ -161,7 +161,13 @@ func (c *controlBox) buildPackage() bool { return false } + // experiment for the toolkit package + if c.status.Exists("build") { + shell.Run([]string{"./build"}) + } + fulldebname := filepath.Join(homeDir, "incoming", debname) + shell.Run([]string{"dpkg-deb", "--build", "files", fulldebname}) if shell.Exists(fulldebname) { log.Warn("build worked") -- cgit v1.2.3