small fixes

This commit is contained in:
2025-11-27 09:53:46 +01:00
parent c968774e62
commit b91d093b1f
2 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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