Skip to content

Commit

Permalink
new formatting system
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetmertguduz committed May 31, 2024
1 parent efba909 commit d91a0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ install(TARGETS yiffy DESTINATION /usr/local/bin)
# Create and install the config files, ensuring they write with the correct permissions
install(CODE "
file(MAKE_DIRECTORY \"${dest_path}\")
file(WRITE \"${dest_path}/yiffy-config.txt\" \"plog:nsfw\")
file(WRITE \"${dest_path}/yiffy-credentials.txt\" \"\")
file(WRITE \"${dest_path}/yiffy-config.txt\" \"IS_NSFW=NO\nIMG_DISPLAY_COMMAND=ascii-image-converter\n\")
file(WRITE \"${dest_path}/yiffy-credentials.txt\" \"API_KEY=\nUSERNAME=\n\")
execute_process(COMMAND chmod 755 \"${dest_path}\")
execute_process(COMMAND chmod 755 \"${dest_path}/yiffy-config.txt\")
execute_process(COMMAND chmod 755 \"${dest_path}/yiffy-credentials.txt\")
Expand Down

0 comments on commit d91a0f6

Please sign in to comment.