-
Notifications
You must be signed in to change notification settings - Fork 110
Command line config file download util #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CodeOhms
wants to merge
31
commits into
matlo:master
Choose a base branch
from
CodeOhms:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
92825a7
Now prints to terminal. Needs fix for downloading as config download …
a47ab99
Merge pull request #1 from CodeOhms/gimxDownloader
CodeOhms f80e384
Can now download list of config files
576a24e
Merge branch 'master' of https://github.com/matlo/GIMX
56624e0
Fixed selection menu window
bb7d697
Grab updates from main project
119a325
Added basic debugging options for Makedefs
d567cf8
Merge branch 'master' of https://github.com/matlo/GIMX
ab829f6
Quick fix for last page not always showing when jumping from first to…
f7fc42d
Fixed selection menu. Added page number top right. Added functionalit…
79a5056
Merge updates for new gimxFileDownloader utility
e71b264
Selection menu now 100% complete. Now need to use returned info to do…
3306d1f
Can finally download configuration files! Huzza!
61edab3
Merge updates for gimxFileDownloader
7456c81
Progress bar now works. Also added download percentage. Soon a help m…
adb287f
Merge recent TUI polishes and bugfixes.
92316ec
Merge branch 'master' of https://github.com/matlo/GIMX
7b735e8
Refactored TUI to use less memory and better OOP design, and added he…
459bf6b
Merge branch 'master' of https://github.com/matlo/GIMX
815eefd
Add autoConfig() functionality, but requires testing once I have cont…
151363c
Merge branch 'master' of https://github.com/matlo/GIMX
80ac729
clean
0adfd2a
Merge branch 'master' of https://github.com/matlo/GIMX
b5ccccb
Fixed crash upon exiting help screen
3061a39
Changed the name of program to 'gimx-fetchconfig'. Now also resides i…
2651165
Fix typos
620eef0
Added -std=c++11 compiler flag for picky Mr Travis Cli, works on all …
7b93f7a
Removed all compiler warnings for my program, as requested
7f361ff
Refactored argument parsing. Replaced stray tabs with spaces. Removed…
bc6842b
Fixed crash upon pressing 'h' while in help menu
7dad208
Fixed a bunch of issues. Program now uses much simpler and more stabl…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,3 +57,5 @@ fpsconfig/gimx-fpsconfig | |
| core/gimx | ||
| core/test/haptic/ff_lg_test | ||
| loader/gimx-loader | ||
|
|
||
| .vscode | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| include ../Makedefs | ||
|
|
||
|
|
||
| ifneq ($(OS),Windows_NT) | ||
| prefix=$(DESTDIR)/usr | ||
| bindir=$(prefix)/bin | ||
| endif | ||
|
|
||
|
|
||
| NAME=$(shell basename "$(shell pwd)") | ||
|
|
||
|
|
||
| ifneq ($(OS),Windows_NT) | ||
| LDLIBS += -lstdc++ -lm `pkg-config --libs ncursesw` | ||
| else | ||
| LDLIBS += -lws2_32 -lstdc++ -lpdcursesw -lintl | ||
| endif | ||
|
|
||
| CPPFLAGS += -Iinclude -std=c++11 | ||
|
|
||
| LDFLAGS += $(GIMXINPUT_LDFLAGS) $(GIMXUSB_LDFLAGS) $(GIMXPOLL_LDFLAGS) | ||
| LDLIBS += $(GIMXINPUT_LDLIBS) $(GIMXUSB_LDLIBS) $(GIMXPOLL_LDLIBS) | ||
| LDLIBS += $(GIMXUPDATER_LDLIBS) $(GIMXCONFIGUPDATER_LDLIBS) | ||
| LDFLAGS += $(GIMXUPDATER_LDFLAGS) $(GIMXCONFIGUPDATER_LDFLAGS) | ||
|
|
||
|
|
||
| OBJECTS := $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | ||
|
|
||
| OUT=gimx-$(NAME) | ||
|
|
||
| ifneq ($(OS),Windows_NT) | ||
| BINS = $(OUT) | ||
| else | ||
| OBJECTS += $(NAME).rc.o | ||
| endif | ||
|
|
||
|
|
||
| all: $(OUT) | ||
|
|
||
|
|
||
| $(OUT): $(OBJECTS) | ||
|
|
||
| ifeq ($(OS),Windows_NT) | ||
| $(NAME).rc.o: $(NAME).rc | ||
| WINDRES $^ -o $@ | ||
| endif | ||
|
|
||
|
|
||
| clean: | ||
| $(RM) $(OBJECTS) $(OUT) | ||
|
|
||
| .PHONY: clean | ||
|
|
||
|
|
||
| ifneq ($(OS),Windows_NT) | ||
| install: all | ||
| mkdir -p $(prefix) | ||
| mkdir -p $(bindir) | ||
| for i in $(BINS); do cp $$i $(bindir)/; done | ||
| for i in $(BINS); do chmod ug+s $(bindir)/$$i; done | ||
|
|
||
| uninstall: | ||
| -for i in $(BINS); do $(RM) $(bindir)/$$i; done | ||
| -rmdir $(bindir) | ||
| -rmdir $(prefix) | ||
|
|
||
| really-clean: clean uninstall | ||
| endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.