From b91d093b1f884097aee2f24ce373d542b2105f19 Mon Sep 17 00:00:00 2001 From: Hans Dijkema Date: Thu, 27 Nov 2025 09:53:46 +0100 Subject: [PATCH] small fixes --- Makefile | 8 +++++--- main.cpp | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f64453d..ed747ce 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,14 @@ all: release install: release mkdir -p /opt/yellownotes - cp build/release/yellownotes *.svg *.png /opt/yellownotes + cp build/release/yellownotes /opt/yellownotes + mkdir -p /opt/yellownotes/images + cp *.svg *.png /opt/yellownotes/images release: build/release/yellownotes -build/release/yellownotes: exe_path.cpp gtk-imports.c gtkloader.cpp main.cpp tr.cpp yellownotes.cpp utils/whereami.c \ - exe_path.h gtk-imports.h gtkloader.h tr.h yellownotes.h utils/whereami.h +build/release/yellownotes: info_over_me.cpp gtk-imports.c gtkloader.cpp main.cpp tr.cpp yellownotes.cpp utils/whereami.c \ + info_over_me.h gtk-imports.h gtkloader.h tr.h yellownotes.h utils/whereami.h cmake -S . -B build/release cmake --build build/release --target all diff --git a/main.cpp b/main.cpp index c4f3d69..b4975a3 100644 --- a/main.cpp +++ b/main.cpp @@ -37,7 +37,7 @@ int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int n #else int main(int argc, char **argv) { - return runMain(argv, argv); + return runMain(argc, argv); } #endif