Skip to content

Commit 06c6881

Browse files
committed
Initial commit
0 parents  commit 06c6881

File tree

85 files changed

+4862
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+4862
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# OpenRA Launcher
2+
3+
A desktop application for launching OpenRA mods and tracking new releases and playtests. Runs on Linux and Windows - head over to the releases page to [download the latest release](https://github.com/dragunoff/OpenRA-Launcher/releases/latest).
4+
5+
![List of installed mods](./screenshots/screenshot-mods.png)
6+
7+
Feeback is welcome so you can [submit a bug report or feature request](https://github.com/dragunoff/OpenRA-Launcher/issues) on the issue tracker.
8+
9+
glhf!

openra_launcher/.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
indent_style = space
8+
indent_size = 2

openra_launcher/.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
.vscode/settings.json
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
**/ios/Flutter/.last_build_id
26+
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
29+
.packages
30+
.pub-cache/
31+
.pub/
32+
/build/
33+
34+
# Web related
35+
lib/generated_plugin_registrant.dart
36+
37+
# Symbolication related
38+
app.*.symbols
39+
40+
# Obfuscation related
41+
app.*.map.json
42+
43+
# Android Studio will place build artifacts here
44+
/android/app/debug
45+
/android/app/profile
46+
/android/app/release
47+
48+
# Build artifacts
49+
/packaging/AppDir/
50+
/packaging/appimage-build/
51+
/packaging/*.AppImage

openra_launcher/.metadata

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 7e9793dee1b85a243edd0e06cb1658e98b077561
8+
channel: stable
9+
10+
project_type: app
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"dart-code.dart-code",
4+
"dart-code.flutter"
5+
]
6+
}

openra_launcher/LICENSE.md

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

openra_launcher/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# openra_launcher
2+
3+
A desktop application for launching OpenRA mods.
4+
5+
## Getting Started
6+
7+
Install the Flutter SDK. Then run flutter commands in this directory:
8+
9+
```sh
10+
# Install dependencies
11+
flutter pub get
12+
13+
# Run the app directly
14+
flutter run
15+
16+
# Produce Linux build artifacts
17+
flutter build linux
18+
19+
# Produce Windows build artifacts
20+
flutter build windows
21+
```
22+
23+
## Packaging
24+
25+
The app is packaged as an AppImage for Linux. Use the provided scripts to achieve that. On windows the app is packaged as a portable executable in a zip archive.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include: package:flutter_lints/flutter.yaml
2+
3+
linter:
4+
rules:

openra_launcher/icon-3x.png

4.9 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
class Constants {
2+
static const appName = 'OpenRA Launcher';
3+
static const iconSize = 32.0;
4+
static const iconSize2x = 64.0;
5+
static const iconSize3x = 96.0;
6+
static const spacing = 8.0;
7+
static const spacing2x = 16.0;
8+
static const tooltipWaitDuration = Duration(milliseconds: 600);
9+
static const officialModIds = ['cnc', 'd2k', 'ra'];
10+
static const modRepos = {
11+
'openra': '/OpenRA/OpenRA',
12+
'hv': '/OpenHV/OpenHV',
13+
'sp': '/ABrandau/Shattered-Paradise-SDK',
14+
'rv': '/MustaphaTR/Romanovs-Vengeance',
15+
'ca': '/Inq8/CAmod',
16+
'd2': '/OpenRA/d2',
17+
'raclassic': '/OpenRA/raclassic',
18+
'gen': '/MustaphaTR/Generals-Alpha',
19+
'mtrsd2k2': '/MustaphaTR/MustaphaTR-s-D2K-Mod',
20+
'ss': '/MustaphaTR/sole-survivor',
21+
'sa': '/Dzierzan/OpenSA',
22+
'cameo': '/Zeruel87/Cameo-mod',
23+
'tda': '/KOYK/OpenRA-Tiberian-Dawn-Apolyton',
24+
};
25+
static const githubApiUrl = 'https://api.github.com';
26+
static const githubReposEndpoint = '/repos';
27+
static const githubReleasesEndpoint = '/releases';
28+
static const appRepo = '/dragunoff/OpenRA-Launcher';
29+
}

0 commit comments

Comments
 (0)