Skip to content

Commit

Permalink
Added icon to non-executable, updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikokun committed Mar 24, 2012
1 parent 2243acb commit 802f133
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Binary file added lib/lock.ico
Binary file not shown.
6 changes: 5 additions & 1 deletion niigen.py
@@ -1,6 +1,6 @@
# Author: Nijiko Yonskai <nijikokun@gmail.com>

""" NiiGen
""" NiiGen v1.0
Psuedo-Random Password/Key Generator
Made for windows, unsure if it will work in other OS. It should.
Expand Down Expand Up @@ -200,6 +200,10 @@ def Clear(self):
app = wx.App(False)
frame = Frame(None, wx.ID_ANY, title, size=size, style=wx.CAPTION | wx.CLOSE_BOX | wx.SYSTEM_MENU)

# Icon
_icon = wx.Icon('lib/lock.ico', wx.BITMAP_TYPE_ICO)
frame.SetIcon(_icon)

# Start
app.MainLoop()

Expand Down
9 changes: 9 additions & 0 deletions readme.md
Expand Up @@ -10,6 +10,15 @@ However, It should given that nothing system specific is used.
- Generating To Input
- Generating To Input and Clipboard

## Usage
Run the following for a console-less window:
``` bash
$ pythonw niigen.py
```

## Installer
Made a windows installer / executable can be found in the downloads.

## Requirements
- Python - **2.7**+
- wxPython - **2.8.12.1**+
Expand Down

0 comments on commit 802f133

Please sign in to comment.