Skip to content

Commit

Permalink
Initial beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmawhinney committed Apr 27, 2024
0 parents commit d128957
Show file tree
Hide file tree
Showing 8 changed files with 982 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build

on:
push:
branches:
- dev
tags:
- 'v*'

permissions:
contents: write
actions: write

jobs:
build:
runs-on: windows-2022

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up CMake
uses: lukka/get-cmake@latest

- name: Configure CMake
run: cmake -S . -B build

- name: Build
run: cmake --build build --config Release

- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: redlight
path: build/Release/RedLight.exe

- name: Release and Upload Asset
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: build/Release/RedLight.exe
token: ${{ secrets.GITHUB_TOKEN }}
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0-beta] - 2024-04-26

### Added
- Initial beta release of RedLight.
- Added a new README file.
- Created a new GitHub repository to push the local dev files and maintain proper versioning.

### Fixed
- CMake build process refactored for MSVC to improve Windows compatibility.
- GitHub Actions workflow fixed for dev branch and release tags. Compile .exe include in Releases page.

### Known Issues
- Need to test on multiple systems and configurations for broader compatibility.

## [0.3.0-alpha] - 2024-04-25

### Added
- Setup Github Actions workflow to build release versions automatically.

### Known Issues
- Compilation errors in Release builds on Github
- Need to update CMake configuration to use MSVC instead of MinGW.

## [0.2.0-alpha] - 2024-04-15
### Added
- Refactored from a windowed app to a tray-only app.
- System tray icon functionality with right-click menu including options to toggle RedLight, view about dialog, and exit the application.

### Fixed
- Handling of multiple instances to ensure only one instance runs at a time.

### Known Issues
- Need to test on multiple systems and configurations for broader compatibility.


## [0.1.0-alpha] - 2024-04-07

### Added
- Project setup and initial code framework.
- Basic window interaction and gamma control functionality to turn off green and blue channels.

### Known Issues
- Initial implementation, not yet tested on multiple devices.
- Error handling is not fully implemented.
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.20)
project(RedLight VERSION 0.4.0)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)

add_executable(RedLight WIN32 src/main.cpp resources/app.rc)

target_link_libraries(RedLight PRIVATE user32 gdi32 Shell32)

set_target_properties(RedLight PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
)
Loading

0 comments on commit d128957

Please sign in to comment.