Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
901a1e5
Add shutdown color
MatrixDJ96 Nov 1, 2020
e2bf18d
Refactor of UnifiedHID structure
MatrixDJ96 Jan 5, 2021
0ebfb2f
Restore strip of alpha color
MatrixDJ96 Jan 5, 2021
80b3af6
Add device name in Device Manager
MatrixDJ96 Jan 12, 2021
ab7e970
Improve HID device management
MatrixDJ96 Jan 14, 2021
b9c13b2
Add Cooler Master MP750 support
MatrixDJ96 Jan 14, 2021
9a33611
Add Vyper 17 Series Keyboard support
MatrixDJ96 Jan 14, 2021
7c5d473
Merge remote-tracking branch 'upstream/dev' into dev
Aytackydln Nov 19, 2021
71383c2
Removed submodule NZXT
Aytackydln Nov 19, 2021
28bafb9
removed some additional lights i was using on hyperx alloy layout
Aytackydln Nov 19, 2021
d813378
Fixed interactive layers
Aytackydln Nov 20, 2021
8335788
actually fixed interactive layers this time
Aytackydln Nov 21, 2021
52e5524
fix steam game path detection
drosoCode Nov 21, 2021
c80fd84
fixed circular animations
Aytackydln Nov 21, 2021
0e7d2e9
fixed animations
Aytackydln Nov 22, 2021
42dfd1c
new sound devices now detected while the application is running
Aytackydln Nov 23, 2021
a3172e4
Added remaining additional lights to OpenRGB keys enum
Aytackydln Nov 25, 2021
cb5b1a0
now supports up to 60 additional lights
Aytackydln Nov 25, 2021
ec6d819
dota 2 profile improvements
Aytackydln Nov 27, 2021
7f2ce7b
implemented reconnection for Yeelight on error
Aytackydln Nov 27, 2021
db4ec20
Merge branch 'mousepad-separate' of https://github.com/SnakePin/Auror…
Aytackydln Nov 27, 2021
0aafdec
added bloody mouse and mousepad support
Aytackydln Nov 27, 2021
1b3a873
fixed bloody peripheral display names
Aytackydln Nov 27, 2021
269772d
fixed index out of bound error while playing with heroes more than 6 …
Aytackydln Nov 27, 2021
69129a2
added namespace for Rider IDE code analyzing
Aytackydln Nov 28, 2021
1396a2a
rename asus calibration config title
Aytackydln Nov 28, 2021
fff6358
possible fix to invalid handler error
Aytackydln Nov 30, 2021
1553e09
added bloody mp50rs mousepad layout
Aytackydln Nov 30, 2021
7507626
added initial support for rampage mouse. This only has 7 color rgb su…
Aytackydln Dec 1, 2021
48707e5
Merge branch 'fix/steamutils' of https://github.com/drosoCode/Aurora …
Aytackydln Dec 1, 2021
f53c9db
Merge remote-tracking branch 'MatrixDJ96/feature/unified_hid' into dev
Aytackydln Dec 1, 2021
9d21548
even more performance upgrade with profiling tools
Aytackydln Dec 1, 2021
a61f24e
fixed Disposable pattern of ApplicationProfile.cs
Aytackydln Dec 2, 2021
0370242
added hidden color calibration for OpenRGB
Aytackydln Dec 2, 2021
48b5f6d
Merge remote-tracking branch 'xQwexx/feature/multiple-device-layout' …
Aytackydln Dec 2, 2021
c9e38f7
rest of the merge conflicts resolved
Aytackydln Dec 2, 2021
ba2dff0
fixed audio layer flickering
Aytackydln Dec 4, 2021
1f965e8
fixed sound layer "falling" animation
Aytackydln Dec 4, 2021
5d4e587
deleted the "falling" animation i made, was unnecessary
Aytackydln Dec 5, 2021
c0e7506
added bloody W60 mouse and logitech G915 layouts
Aytackydln Dec 10, 2021
12a7421
fixed layout
Aytackydln Dec 12, 2021
ab5f19c
reductions to memory garbage
Aytackydln Dec 12, 2021
fd3ca4d
update bloody outline
Aytackydln Dec 14, 2021
4d1f678
added logging to device update error
Aytackydln Dec 14, 2021
15d8f2b
added exception stacktrace to logs
Aytackydln Dec 14, 2021
f3bd2d4
fixed G915 remaining lights
Aytackydln Dec 15, 2021
0e3cdc7
added hidden option to not close program on fatal exceptions
Aytackydln Dec 15, 2021
9aac32f
implemented keep alive mechanism for Yeelight
Aytackydln Dec 22, 2021
be8f7e7
merge xQwexx's multiple layouts branch
Aytackydln Dec 22, 2021
55d1e00
added brand logo mapping for corsair
Aytackydln Dec 22, 2021
23dcb7c
enabled corsair strafe keyboard logo change
Aytackydln Dec 22, 2021
1a62622
added Calculator, Volume Down and Volume Up mappings for OpenRGB
Aytackydln Dec 28, 2021
2655a90
Merge pull request #2 from Aytackydln/dev
Aytackydln Dec 29, 2021
be5c0b6
template for CD
Aytackydln Dec 29, 2021
8a8dcc1
add recursive checkout
Aytackydln Dec 30, 2021
b890c80
remove up directory from installer script
Aytackydln Dec 30, 2021
c9f3730
Revert "remove up directory from installer script"
Aytackydln Dec 30, 2021
9eed2ab
remove restore parameter from msbuild command
Aytackydln Dec 30, 2021
df56a18
add missing /
Aytackydln Dec 30, 2021
239ddd7
added restore and build to msbuild
Aytackydln Dec 30, 2021
364f23a
seperate restore and build
Aytackydln Dec 30, 2021
116876d
Installer upload attempt
Aytackydln Dec 30, 2021
e7ca0f4
automatic release
Aytackydln Dec 30, 2021
689ff37
set relative path to zip binaries
Aytackydln Dec 30, 2021
61e6dcc
change archiver library
Aytackydln Dec 30, 2021
6dab696
release binary zip
Aytackydln Dec 30, 2021
7a71b45
fix zip path
Aytackydln Dec 30, 2021
9f2d975
trying harder
Aytackydln Dec 30, 2021
4ec11b7
try to inject build number into artifact
Aytackydln Jan 8, 2022
fa38a30
add github repository name as authors property to exe
Aytackydln Jan 8, 2022
ab11407
fix number parse error from version naming
Aytackydln Jan 8, 2022
0363958
Merge remote-tracking branch 'origin/master'
Aytackydln Jan 8, 2022
fa75f94
fixed doube v character at version display
Aytackydln Jan 10, 2022
d514d0e
changed updater for new oncoming CI/CD
Aytackydln Jan 10, 2022
0e6e6d8
hidden CloseProgramOnException now also doesnt display error message
Aytackydln Jan 10, 2022
4413370
new injections for new updater
Aytackydln Jan 10, 2022
ab62111
try another split library
Aytackydln Jan 10, 2022
08e522b
fix archive output name
Aytackydln Jan 10, 2022
429d399
added debug outputs for split
Aytackydln Jan 10, 2022
81c7bf4
try fixing repository detection
Aytackydln Jan 10, 2022
78866f8
Update aurora-release.yml
Aytackydln Jan 10, 2022
e40c7aa
fix CI repository detection
Aytackydln Jan 10, 2022
5bb3b7f
fix updater repository detection
Aytackydln Jan 10, 2022
7648b5c
Merge remote-tracking branch 'origin/master'
Aytackydln Jan 10, 2022
33e5453
added new github integration changes for updater
Aytackydln Jan 10, 2022
c4135b3
added github action file
Aytackydln Jan 10, 2022
d71ea82
add prerelease build script
Aytackydln Jan 10, 2022
8bf26c6
Merge pull request #3 from Aytackydln/github-actions
Aytackydln Jan 10, 2022
8c540cb
Merge branch 'master' into dev
Aytackydln Jan 10, 2022
8b20136
rename dev build name
Aytackydln Jan 10, 2022
755bc16
Merge pull request #4 from Aytackydln/dev
Aytackydln Jan 10, 2022
37aed5c
Merge pull request #2 from antonpup/dev
diogotr7 Jan 10, 2022
dbd42e1
Delete appveyor.yml
Aytackydln Jan 10, 2022
4a2fe5e
Merge branch 'master' into github-actions
Aytackydln Jan 10, 2022
142b1a1
Merge pull request #4 from Aytackydln/github-actions
diogotr7 Jan 10, 2022
634c280
change zip library
Aytackydln Jan 11, 2022
4149a74
change zipping method
Aytackydln Jan 11, 2022
21f717e
Add MSI GP66
ematt Jan 15, 2022
d648612
Removed comments
ematt Jan 15, 2022
1eb218f
updated champion list to include current champions in background with…
Morgenmvffel Jan 16, 2022
1103c77
added mkdir method before extracting update files
Aytackydln Jan 16, 2022
6f75a74
added mkdir method before extracting update files
Aytackydln Jan 16, 2022
358bff5
Merge pull request #12 from Aytackydln/org-updater-mkdir
Aytackydln Jan 16, 2022
d836867
added chemtech and hextech drake
Morgenmvffel Jan 17, 2022
7afd1de
possible fix for Aurora stopping animations after waking from sleep
Aytackydln Jan 25, 2022
c03ef8d
possible fix for aurora stopping animations after waking from sleep
Aytackydln Jan 25, 2022
8bce2c2
Merge pull request #14 from Aytackydln/wake-from-sleep
Aytackydln Jan 25, 2022
eabbc2c
Merge pull request #15 from Aurora-RGB/master
Aytackydln Jan 25, 2022
bb9a50c
OpenRGB devices now set to direct mode while initializing
Aytackydln Jan 28, 2022
641278c
set OpenRGB devices to direct mode while connecting
Aytackydln Jan 28, 2022
acab27e
fix some devices not setting to direct mode while connecting
Aytackydln Jan 28, 2022
2ad70c8
Updated Dota 2 items layer
Crapy Jan 31, 2022
3bb07ce
Removed problematic code in custom games
Crapy Jan 31, 2022
178b769
change device update worker to SmartThreadPool with size 1
Aytackydln Feb 1, 2022
387e1fa
Merge pull request #21 from Aytackydln/org-device-thread-pool
Aytackydln Feb 1, 2022
b9203d2
Add support and layout for keychron q1 knob 75% keyboard
tirrorex Feb 1, 2022
d780044
Updated Dota 2 items layer
Aytackydln Feb 1, 2022
e49d8fe
change thread pooling for device updates
Aytackydln Feb 1, 2022
6be1baf
Updated Dota 2 items layer
Crapy Jan 31, 2022
abe8ed8
rename keychron q1 knob layout
tirrorex Feb 1, 2022
450c264
Merge pull request #19 from tirrorex/master
Aytackydln Feb 1, 2022
faddcb2
Merge pull request #22 from tirrorex/master
Aytackydln Feb 1, 2022
471fb4c
fix Keychron_Q1_Knob_Ansi enum
Aytackydln Feb 1, 2022
e3619f1
fixing keychron path and variable in keyboardLayoutManager
tirrorex Feb 2, 2022
cdec503
Merge branch 'dev' into master
tirrorex Feb 2, 2022
843b87d
Merge pull request #23 from tirrorex/master
Aytackydln Feb 2, 2022
abc5207
fix dev release tags, create them as drafts also
Aytackydln Feb 2, 2022
0c66771
also update master release
Aytackydln Feb 2, 2022
99dc489
Merge pull request #25 from Aurora-RGB/improve-releases
Aytackydln Feb 2, 2022
8f97b7e
change release library again
Aytackydln Feb 2, 2022
779ce6a
change release library again
Aytackydln Feb 2, 2022
5fccf98
Merge pull request #26 from Aurora-RGB/improve-releases
Aytackydln Feb 2, 2022
5ca4cfc
added exception stacktrace to logs
Aytackydln Dec 14, 2021
a27de13
Merge remote-tracking branch 'organization/dev' into org-dev
Aytackydln Feb 2, 2022
27a02af
DESTROYED idle cpu usage
Aytackydln Feb 3, 2022
284a45e
more memory/cpu optimizations
Aytackydln Feb 5, 2022
6559abb
fixed possible null exceptions on some devices
Aytackydln Feb 5, 2022
eb15622
fixed possible null exceptions on some devices
Aytackydln Feb 5, 2022
77ad299
fix release tag_name property
Aytackydln Feb 5, 2022
58a954a
update release scripts for drafting
Aytackydln Feb 5, 2022
91a5f8c
Updated readme links. Added forks list
Aytackydln Feb 7, 2022
40ddb31
Updated readme links. Added forks list
Aytackydln Feb 7, 2022
3634361
Updated readme links. Added forks list
Aytackydln Feb 7, 2022
80d61bf
Merge branch 'dev' into dev
ematt Feb 12, 2022
39b1b2e
improve and update CD/CD in response to Github removing InnoSetup
Aytackydln Feb 14, 2022
9582074
Merge pull request #29 from Aytackydln/ws-19-CI
Aytackydln Feb 14, 2022
718a264
Merge remote-tracking branch 'organization/dev' into org-dev
Aytackydln Feb 14, 2022
eb0f6de
fix nuget cache path
Aytackydln Feb 14, 2022
7888215
fix build commands
Aytackydln Feb 14, 2022
408a160
go back to msbuild command
Aytackydln Feb 14, 2022
820def4
revert tool changes for CI/CD
Aytackydln Feb 19, 2022
15e6917
added restore steps back
Aytackydln Feb 19, 2022
3aa5167
Merge pull request #27 from ematt/dev
Aytackydln Feb 19, 2022
7fe00fb
Merge branch 'dev' of https://github.com/Aurora-RGB/Aurora into dev
Aytackydln Feb 19, 2022
7d8633c
Merge pull request #11 from MorgenmuffelTV/LolProfileUpdate
Aytackydln Feb 19, 2022
1568d82
added correct link to the artemis repo
Morgenmvffel Feb 20, 2022
cd13a7e
Merge pull request #14 from MorgenmuffelTV/patch-1
Aytackydln Feb 20, 2022
8d52906
fix Artemis repository link
Aytackydln Feb 20, 2022
1468ae6
Merge pull request #30 from Aurora-RGB/readme-artemis-link
Aytackydln Feb 20, 2022
81a0e38
Merge pull request #31 from Aurora-RGB/readme-artemis-link
Aytackydln Feb 20, 2022
56febb1
fix layer transparency, with more optimizations
Aytackydln Feb 27, 2022
2bac93f
Merge remote-tracking branch 'origin/dev' into dev
Aytackydln Feb 27, 2022
72869b2
Merge branch 'master' into dev
Aytackydln Feb 27, 2022
18c248b
Merge pull request #15 from Aytackydln/dev
Aytackydln Feb 27, 2022
76908ea
Added animation fps option
Aytackydln Mar 1, 2022
4c3e76e
Merge remote-tracking branch 'origin/dev' into dev
Aytackydln Mar 1, 2022
413d722
Merge pull request #33 from Aurora-RGB/dev
Aytackydln Mar 14, 2022
3681dca
Merge branch 'master' of https://github.com/Aurora-RGB/Aurora into dev
Aytackydln Mar 14, 2022
005760f
Reflect all changes made to plugin...
th3an7 Mar 14, 2022
f0d2d5e
Merge pull request #34 from th3an7/patch-1
Aytackydln Mar 14, 2022
9630c13
fix dota2 item layer config UI
Aytackydln Mar 14, 2022
0bf5d4f
fix Aurora crashing while closing from tray
Aytackydln Mar 14, 2022
27dd1ac
Merge pull request #18 from Aytackydln/dev
Aytackydln Mar 14, 2022
c9b93f7
Merge pull request #36 from Aytackydln/master
Aytackydln Mar 14, 2022
7893ccf
Merge pull request #37 from Aurora-RGB/dev
Aytackydln Mar 14, 2022
4c07c35
fixed Percent (Gradient) Layer
Aytackydln Mar 19, 2022
e236a4c
added generic 2 zone + logo mousepad layout
Aytackydln Mar 19, 2022
9570373
add support for 64 bit tModLoader
Aytackydln Mar 29, 2022
f453cec
Merge branch 'dev' of https://github.com/Aurora-RGB/Aurora into org-m…
Aytackydln Mar 29, 2022
c642e9a
Mostly fixes animations. Some are still *misplaced* but at least none…
Aytackydln Mar 29, 2022
52e58de
Merge pull request #40 from Aurora-RGB/master
Aytackydln Mar 29, 2022
e62f93c
Rework Shortcut Assistant
ematt Mar 31, 2022
49e4a0d
Merge pull request #41 from ematt/feature/shortcut_assistant_last_keys
Aytackydln Mar 31, 2022
82097d8
Merge pull request #19 from Aurora-RGB/master
Aytackydln Apr 8, 2022
10266f6
Fix mute button on Roccat Vulcan TKL
Apr 9, 2022
a0e533d
Add Roccat Vulcan TKL layout
Apr 9, 2022
29a69a3
Merge pull request #42 from manafy/dev
Aytackydln Apr 10, 2022
ae2d61a
fix some animations and older profile imports
Aytackydln Apr 23, 2022
15cee8c
Merge branch 'dev' of https://github.com/Aurora-RGB/Aurora
Aytackydln Apr 24, 2022
d27d718
HUUGE optimizations. Hugely optimized static layers. Layer renders ar…
Aytackydln Apr 24, 2022
9ce00ef
fix dota 2 respawn layer not clearing effects
Aytackydln Apr 24, 2022
daced8c
further improve dota 2 layer performance
Aytackydln Apr 26, 2022
eff5f1c
fix opacity not working in certain situations like Dota 2 background …
Aytackydln Apr 26, 2022
c5671dc
fixed dota 2 respawn layer again
Aytackydln Apr 27, 2022
c073854
Optimize and adjust CS:GO profile
Aytackydln Apr 27, 2022
302e374
update LibreHardwareMonitorLib version because of false positive
Aytackydln Apr 29, 2022
7efabee
Merge pull request #44 from Aytackydln/master
Aytackydln Apr 29, 2022
54d30d8
further optimizations
Aytackydln May 3, 2022
133cdb1
Merge pull request #45 from Aytackydln/master
Aytackydln May 3, 2022
8866ff4
code cleanup
Aytackydln May 5, 2022
a41c218
fix audio layer without background not clearing the waves
Aytackydln May 5, 2022
4a751a2
Merge branch 'master' of https://github.com/Aurora-RGB/Aurora
Aytackydln May 5, 2022
c96cd99
small more optimizations and code refactor
Aytackydln May 5, 2022
0e9f7e1
fix equalizer NPE while disposing
Aytackydln May 5, 2022
fe971dc
move more old repo links to this repo
Aytackydln May 5, 2022
fb3ad68
Merge branch 'master' of https://github.com/Aurora-RGB/Aurora
Aytackydln May 5, 2022
e872c13
fix breathing layer memory leak
Aytackydln May 5, 2022
32b9141
Merge branch 'master' of https://github.com/Aurora-RGB/Aurora
Aytackydln May 5, 2022
06af9ea
ignore music mode error on music mode
Aytackydln May 8, 2022
ac0f6c5
Merge branch 'master' of https://github.com/Aytackydln/Aurora into mu…
Aytackydln May 16, 2022
4961a31
fix merge in a "runnable" state
Aytackydln May 16, 2022
11715da
Merge branch 'master' of https://github.com/Aytackydln/Aurora into or…
Aytackydln May 17, 2022
0009094
many optimizations and fixes
Aytackydln May 17, 2022
e0676dc
Merge branch 'master' of https://github.com/Aurora-RGB/Aurora into mu…
Aytackydln May 17, 2022
83b428e
Merge branch 'org-master' into multiple-device-layout
Aytackydln May 17, 2022
fa8ffed
invalidation on canvas change
Aytackydln May 17, 2022
c36cd80
radial layer fix
Aytackydln May 17, 2022
fcc5cb6
Merge branch 'master' of https://github.com/Aytackydln/Aurora into mu…
Aytackydln May 17, 2022
7a937df
fix memory leak on unoptimized layers
Aytackydln May 18, 2022
f2d7e1c
Merge branch 'org-master' into multiple-device-layout
Aytackydln May 18, 2022
b3115fb
Build Test
Predator4578 Aug 5, 2021
3ce7226
Add support for Razer Naga Pro mouse
ematt May 23, 2022
8d3243a
removed the razer row column
ematt May 23, 2022
f92dfd4
fixed some layers not updating in certain cases (like solid layer on …
Aytackydln May 29, 2022
b171b50
fix solid layer sometimes not updating
Aytackydln May 30, 2022
f9dc83a
fix rare error at startup
Aytackydln May 31, 2022
6f7312a
fixed glitch layer freeform mode
Aytackydln Jun 2, 2022
9a3a24a
fix ambient layer not being saved
Aytackydln Jun 2, 2022
5005fa5
fix Audio Visualiser not clearing background with power bar effect type
Aytackydln Jun 5, 2022
a1d2e09
fix a case with property overriding throwing an error
Aytackydln Jun 5, 2022
4dbc93a
added bloody mp-50r support
Aytackydln Jun 7, 2022
1d2da8c
fix percent layer leaving old colors while editing
Aytackydln Jun 7, 2022
eea578d
fixed Ambilight layer not working correctly with default and average …
Aytackydln Jun 7, 2022
c55422f
Corsair K100 support
Atomixid Jun 8, 2022
f70f551
start light effects update after window creation to block some except…
Aytackydln Jun 13, 2022
c1bc145
improve Ambilight Layer average color calculation
Aytackydln Jun 13, 2022
18eb9d6
fix memory leak in many cases like LOL and Minecraft layers
Aytackydln Jun 13, 2022
f5df2bb
Merge pull request #48 from ematt/feature/naga_pro
Aytackydln Jun 13, 2022
4c54777
Merge pull request #53 from Atomixid/feature/corsair-k100-support
Aytackydln Jun 13, 2022
0c6ea0d
change color type to long for better SIMD optimization in Color avera…
Aytackydln Jun 19, 2022
c05793d
small code cleanup
Aytackydln Jun 19, 2022
5a59aeb
fix Hardware enabled Ambilight memory leak
Aytackydln Jun 19, 2022
2b32ad6
Merge remote-tracking branch 'organization/dev' into org-dev
Aytackydln Jun 19, 2022
275e347
Merge remote-tracking branch 'organization/master' into org-master
Aytackydln Jun 19, 2022
20f29d2
fix GDI error with Clevo and AtmoOrb devices
Aytackydln Jun 27, 2022
64ab9cd
fix AmbilightLayer not detecting windows
Aytackydln Jun 27, 2022
7e14e08
Merge branch 'master' of https://github.com/Aytackydln/Aurora into mu…
Aytackydln Jun 30, 2022
201f82a
new merge
Aytackydln Jun 30, 2022
97ef818
Merge branch 'DeviceLayoutMerge' of https://github.com/Predator4578/A…
Aytackydln Jun 30, 2022
cde93da
trying harder
Aytackydln Jun 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 22 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,29 @@
"profile": "https://github.com/xQwexx",
"contributions": [
"code"
"question",
"maintenance",
"doc",
"design",
"review"
"ideas"
]
},
{
"login": "Predator4578",
"name": "Codename-Antares",
"avatar_url": "https://avatars.githubusercontent.com/Predator4578",
"profile": "https://github.com/Predator4578",
"contributions": [
"code"
"question",
"maintenance",
"doc",
"design",
"review"
"ideas"
]
}
}
],
"contributorsPerLine": 7
}
87 changes: 87 additions & 0 deletions .github/workflows/aurora-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Aurora CD

on:
push:
branches: [ dev ]

jobs:

build:

strategy:
matrix:
configuration: [Release]

runs-on: windows-2019 # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

env:
Solution_Name: Project-Aurora/Project-Aurora.sln

steps:
- name: Generate build number
id: buildnumber
uses: einaregilsson/build-number@v3
with:
token: ${{secrets.github_token}}

- uses: rishabhgupta/split-by@v1
id: split
with:
string: ${{github.repository}}
split-by: '/'

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

- name: Build
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
APPVEYOR_BUILD_VERSION: v${{steps.buildnumber.outputs.build_number}}
OWNER: ${{ steps.split.outputs._0 }}
REPOSITORY: ${{ steps.split.outputs._1 }}
Configuration: ${{ matrix.configuration }}

# Create the app package by building and packaging the Windows Application Packaging project
- name: Building the installer
run: |
"%programfiles(x86)%\Inno Setup 6\iscc.exe" /DEXTERNAL_VERSION=${{steps.buildnumber.outputs.build_number}} Installer\installer.iss
shell: cmd

- name: Archive Build
shell: pwsh
run: |
Compress-Archive .\Build\Release\* Aurora-v${{steps.buildnumber.outputs.build_number}}.zip

- name: Installer Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_commitish: dev
draft: true
files: |
Aurora-setup-v${{steps.buildnumber.outputs.build_number}}.exe
Aurora-v${{steps.buildnumber.outputs.build_number}}.zip
tag_name: v${{steps.buildnumber.outputs.build_number}}
allow_override: false
prerelease: true

91 changes: 91 additions & 0 deletions .github/workflows/aurora-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Aurora CD

on:
push:
branches: [ master ]

jobs:

build:

strategy:
matrix:
configuration: [Release]

runs-on: windows-2019 # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

env:
Solution_Name: Project-Aurora/Project-Aurora.sln

steps:
- name: Generate build number
id: buildnumber
uses: einaregilsson/build-number@v3
with:
token: ${{secrets.github_token}}

- uses: rishabhgupta/split-by@v1
id: split
with:
string: ${{github.repository}}
split-by: '/'

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

- name: Build
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
APPVEYOR_BUILD_VERSION: v${{steps.buildnumber.outputs.build_number}}
OWNER: ${{ steps.split.outputs._0 }}
REPOSITORY: ${{ steps.split.outputs._1 }}
Configuration: ${{ matrix.configuration }}

# Decode the base 64 encoded pfx and save the Signing_Certificate
#- name: Decode the pfx
# run: |
# $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
# $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
# [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)

# Create the app package by building and packaging the Windows Application Packaging project
- name: Building the installer
run: |
"%programfiles(x86)%\Inno Setup 6\iscc.exe" /DEXTERNAL_VERSION=${{steps.buildnumber.outputs.build_number}} Installer\installer.iss
shell: cmd

- name: Archive Build
shell: pwsh
run: |
Compress-Archive .\Build\Release\* Aurora-v${{steps.buildnumber.outputs.build_number}}.zip

- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
files: |
Aurora-setup-v${{steps.buildnumber.outputs.build_number}}.exe
Aurora-v${{steps.buildnumber.outputs.build_number}}.zip
tag_name: v${{steps.buildnumber.outputs.build_number}}
allow_override: true
8 changes: 4 additions & 4 deletions Project-Aurora/Aurora-Updater/Aurora-Updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Project-Aurora\Project-Aurora.csproj" >
<ProjectReference Include="..\Project-Aurora\Project-Aurora.csproj">
<Private>false</Private>
</ProjectReference>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="Octokit">
<Version>0.47.0</Version>
<Version>0.50.0</Version>
</PackageReference>
<PackageReference Include="SemanticVersioning">
<Version>1.2.2</Version>
<Version>1.3.0</Version>
</PackageReference>
</ItemGroup>

Expand Down
10 changes: 7 additions & 3 deletions Project-Aurora/Aurora-Updater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Security.Principal;
using System.Windows.Forms;
using System.Linq;
using System.Reflection;
using Version = SemVer.Version;

namespace Aurora_Updater
Expand Down Expand Up @@ -82,10 +83,13 @@ static void Main(string[] args)
MessageBoxButtons.OK);
return;
}
versionMajor = new Version(_maj, true);
versionMajor = new Version(_maj.TrimStart('v') + ".0.0", true);

string owner = FileVersionInfo.GetVersionInfo(auroraPath).CompanyName;
string repository = FileVersionInfo.GetVersionInfo(auroraPath).ProductName;

//Initialize UpdateManager
StaticStorage.Manager = new UpdateManager(versionMajor);
StaticStorage.Manager = new UpdateManager(versionMajor, owner, repository);

//Check if update retrieval was successful.
if (StaticStorage.Manager.updateState == UpdateStatus.Error)
Expand All @@ -109,7 +113,7 @@ static void Main(string[] args)
}
else
{
Version latestV = new Version(StaticStorage.Manager.LatestRelease.TagName.TrimStart('v'), true);
Version latestV = new Version(StaticStorage.Manager.LatestRelease.TagName.TrimStart('v') + ".0.0", true);

if (latestV > versionMajor)
{
Expand Down
19 changes: 11 additions & 8 deletions Project-Aurora/Aurora-Updater/UpdateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ public class UpdateManager
private GitHubClient gClient = new GitHubClient(new ProductHeaderValue("aurora-updater"));
public Release LatestRelease;

public UpdateManager(Version version)
public UpdateManager(Version version, string author, string repoName)
{
LoadSettings();
PerformCleanup();
FetchData(version);
FetchData(version, author, repoName);
}

public void LoadSettings()
Expand Down Expand Up @@ -109,20 +109,23 @@ public int GetTotalProgress()
return (int)((downloadProgess + extractProgess) / 2.0f * 100.0f);
}

private bool FetchData(Version version)
private bool FetchData(Version version, string owner, string repositoryName)
{
try
{
if (Config.GetDevReleases || !String.IsNullOrWhiteSpace(version.PreRelease))
LatestRelease = gClient.Repository.Release.GetAll("Aurora-RGB", "Aurora", new ApiOptions { PageCount = 1, PageSize = 1 }).Result[0];
LatestRelease = gClient.Repository.Release.GetAll(owner, repositoryName, new ApiOptions { PageCount = 1, PageSize = 1 }).Result[0];
else
LatestRelease = gClient.Repository.Release.GetLatest("Aurora-RGB", "Aurora").Result;
LatestRelease = gClient.Repository.Release.GetLatest(owner, repositoryName).Result;

//Console.WriteLine(reply);
}
catch (Exception exc)
{
updateState = UpdateStatus.Error;
MessageBox.Show(
$"Could not find update.\r\nError:\r\n{exc}",
"Aurora Updater - Error");
return false;
}

Expand Down Expand Up @@ -242,11 +245,11 @@ private bool ExtractUpdate()

for (int i = 0; i < countOfEntries; i++)
{
float percentage = ((float)i / (float)countOfEntries);
float percentage = i / (float)countOfEntries;

var fileEntry = updateFile.Entries[i];
log.Enqueue(new LogEntry($"[{Math.Truncate(percentage * 100)}%] Updating: {fileEntry.FullName}"));
this.extractProgess = (float)(Math.Truncate(percentage * 100) / 100.0f);
extractProgess = (float)(Math.Truncate(percentage * 100) / 100.0f);

if (ignoreFiles.Contains(fileEntry.FullName))
continue;
Expand All @@ -256,6 +259,7 @@ private bool ExtractUpdate()
var filePath = Path.Combine(Program.exePath, fileEntry.FullName);
if (File.Exists(filePath))
File.Move(filePath, $"{filePath}.updateremove");
Directory.CreateDirectory(Path.GetDirectoryName(filePath));
fileEntry.ExtractToFile(filePath);
}
catch (IOException e)
Expand All @@ -264,7 +268,6 @@ private bool ExtractUpdate()

MessageBox.Show($"{fileEntry.FullName} is inaccessible.\r\nPlease close Aurora.\r\n\r\n {e.Message}");
i--;
continue;
}
}

Expand Down
Loading