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