Skip to content

Commit

Permalink
Update CreateRelease.cmd script to do more things automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
clandrew committed Jun 28, 2019
1 parent bbedd71 commit b2c4aa9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ DiscordRichPresence/Release/*
Debug/*
Release/*
*.vcxproj.user
Distribute/
8 changes: 8 additions & 0 deletions CreateRelease.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ setlocal

set ZIP_UTILITY="E:\Program Files\7-Zip\7z.exe"

del Distribute.zip
rmdir /S /Q Distribute

mkdir Distribute
mkdir Distribute\DiscordRichPresence

copy DiscordRuntime\discord-rpc.dll Distribute\DiscordRichPresence\discord-rpc.dll
copy DiscordRuntime\send-presence.exe Distribute\DiscordRichPresence\send-presence.exe
copy settings.ini Distribute\DiscordRichPresence\settings.ini
copy Release\DiscordRichPresence.dll Distribute\gen_DiscordRichPresence.dll


%ZIP_UTILITY% a Distribute.zip Distribute\
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Discord Rich Presence configuration
#####################################
DisplayTitleInStatus:true
ApplicationID:000000000000000000
ShowElapsedTime:true
ApplicationID:0
5 changes: 5 additions & 0 deletions settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Discord Rich Presence configuration
#####################################
DisplayTitleInStatus:true
ShowElapsedTime:true
ApplicationID:0

0 comments on commit b2c4aa9

Please sign in to comment.