Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
Add our license to the about modal (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed authored Jun 16, 2017
1 parent cfa31ba commit 385ccd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2017 Jack Humbert
Copyright (c) 2015-2017 Jack Humbert, Zach White

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
6 changes: 4 additions & 2 deletions src/MainWindow/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ let $hexChangedFlash;
const flashImmediatelyButtonText = "Flash";
const flashWhenReadyButtonText = "Flash When Ready";
const pressResetText = "Press RESET on your keyboard's PCB.";
const aboutText = "<p>QMK Flasher version " + app.getVersion() + "</p>\
<p>Copyright (c) 2015-2017 Jack Humbert, Zach White</p>\
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the conditions laid out in the included <a href=\"https://github.com/qmk/qmk_flasher/blob/master/LICENSE.md\">LICENSE.md</a> file.</p>";

$flashHex.text(flashImmediatelyButtonText);

Expand Down Expand Up @@ -203,8 +206,7 @@ function openAboutDialog() {
bootbox.alert({
size: "small",
title: "About",
message: `QMK Flasher version ${app.getVersion()}`
//TODO: Display information about open source licenses
message: aboutText
});
}

Expand Down

0 comments on commit 385ccd7

Please sign in to comment.