Skip to content

Commit

Permalink
[feat] 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romualdr committed Dec 7, 2019
1 parent b0fad0f commit c35cf31
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ vdrive.base
.idea
run.bat
vdrive.base.7z
xwamp.exe
xwamp.exe
release
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# ![logo](./icon/icon_small.png) XWAMP

Lightweight zero install WAMP built with Golang. Heavily inspired by the now defunct ZWAMP.
> Zero install WAMP built with Golang.
>
The goal of XWAMP is to provide a simple executable to run web developments tools with one click.

Heavily inspired by the now defunct ZWAMP.


![screenshot](./screenshot.png)
Expand Down
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type Service struct {
// Displayed
windowed bool
isRunning bool
open string
entry *systray.MenuItem
}

Expand All @@ -32,6 +33,7 @@ var services = [4]Service{{
args: "",
windowed: false,
isRunning: false,
open: `http://localhost`,
}, {
name: "MongoDB",
tooltip: "Document oriented database",
Expand Down Expand Up @@ -284,6 +286,9 @@ func createUI() {
stop(service, nil)
} else {
start(service)
if len(service.open) > 0 {
open(service.open)
}
}
updateUI()
}
Expand Down

0 comments on commit c35cf31

Please sign in to comment.