Skip to content

Commit

Permalink
Merge pull request #1 from antonio-alexander/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
antonio-alexander authored Apr 10, 2021
2 parents 981e224 + 9287ac3 commit f37676e
Show file tree
Hide file tree
Showing 23 changed files with 618 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@
*.aliases
*.lvlps
.cache/

# Deplyoment binaries/files
!builds/_builds.txt
builds
!distribution/_distribution.txt
distribution
!source/data/bin/_bin.txt
!source/data/bin/7z.sfx
!source/data/bin/7z_original.sfx
source/data/bin/*.*
source/lv-builder*.json
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2021-02-20

- Initial release
- Added webserver
- Added ability to run either executable as administrator
- Added ability for application to determine whether or not it was running as an administrator
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# lv-hello-world
# lv-hello-world

lv-hello-world is an example library/project that provides the basic functionality for a LabVIEW application. It serves as an example for multiple distribution methods (e.g. installer, application, zip etc). Also there is an example using the built-in LabVIEW web service.

This project was used to TEST the lv-build utility and its variants, thus all the dependencies and imports, look at the lv-build repo for more information. This project is also SPECIFIC to windows, more specifically Windows 10. It has the ability to run both the webserver and the main application as admin via a labview app using the lv-bin utilities. If you're wondering, I did a little magic with the sfx using [Resource Hacker](http://www.angusj.com/resourcehacker/) and the instructions on (https://rubenalamina.mx/2013/07/17/making-a-7-zip-switchless-installer/)[https://rubenalamina.mx/2013/07/17/making-a-7-zip-switchless-installer/].
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added source/build.vi
Binary file not shown.
Binary file added source/data/antonio-alexander.ico
Binary file not shown.
Binary file added source/data/bin/7z.sfx
Binary file not shown.
Binary file added source/data/bin/7z_original.sfx
Binary file not shown.
1 change: 1 addition & 0 deletions source/data/bin/_bin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains binary files. (yay)
13 changes: 13 additions & 0 deletions source/data/hello_world_as_admin.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[hello_world_as_admin]
server.app.propertiesEnabled=True
server.ole.enabled=True
server.tcp.paranoid=True
server.tcp.serviceName="My Computer/VI Server"
server.vi.callsEnabled=True
server.vi.propertiesEnabled=True
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
DebugServerEnabled=False
DebugServerWaitOnLaunch=False
HideRootWindow=True
UseTaskBar=FALSE
Binary file added source/lv-hello-web/hello_world.vi
Binary file not shown.
Binary file added source/lv-hello-web/resources/gopher_antonio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/lv-hello-web/version.vi
Binary file not shown.
561 changes: 561 additions & 0 deletions source/lv-hello-world.lvproj

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions source/lv-hello-world/lv-hello-world.lvlib

Large diffs are not rendered by default.

Binary file added source/lv-hello-world/main.vi
Binary file not shown.
Binary file added source/lv-hello-world/main_run_as_admin.vi
Binary file not shown.
Binary file added source/lv-hello-world/main_web_run_as_admin.vi
Binary file not shown.
Binary file added source/lv-hello-world/version.vi
Binary file not shown.

0 comments on commit f37676e

Please sign in to comment.