From 00cbcc82fb0e8aa00169c75ebaed8bb37655fa86 Mon Sep 17 00:00:00 2001 From: alvsz <102085931+alvsz@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:38:01 -0300 Subject: [PATCH 1/2] shebang lua --- wau-scanner.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wau-scanner.lua b/wau-scanner.lua index 543dae7..9b5a280 100644 --- a/wau-scanner.lua +++ b/wau-scanner.lua @@ -1,3 +1,5 @@ +#!/usr/bin/env lua + local xml2lua = require("xml2lua") local handler = require("xmlhandler.tree") From 2a0b7193b07126c331a56a3f571237df1930c727 Mon Sep 17 00:00:00 2001 From: alvsz <102085931+alvsz@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:39:50 -0300 Subject: [PATCH 2/2] Update wau-dev-1.rockspec --- wau-dev-1.rockspec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wau-dev-1.rockspec b/wau-dev-1.rockspec index 187afb4..2ce288b 100644 --- a/wau-dev-1.rockspec +++ b/wau-dev-1.rockspec @@ -30,6 +30,11 @@ build = { ["wau.cursor.wl_cursor_theme"] = "wau/cursor/wl_cursor_theme.lua", ["wau.protocol.wayland"] = "wau/protocol/wayland.lua", }, + install = { + bin = { + wau-scanner = "wau-scanner.lua" + } + }, copy_directories = { "example" } }