Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

klown/windows

 
 

Repository files navigation

GPII for Windows

Contains platform-specific components of the GPII architecture for Windows. See http://gpii.net/ for overall details of the GPII project. After checkout out using git, this project will require node.js and npm to be installed - please consult http://wiki.gpii.net/w/Setting_Up_Your_Development_Environment for installation instructions.

Note that tests and function involving the High Contrast setting will fail on all current versions of Windows (including Windows 7 SP1 and Windows 8 SP2) unless the following hotfix from Microsoft is applied: http://support.microsoft.com/kb/2516889

See http://issues.gpii.net/browse/GPII-49 for more details of this issue.

Grunt Builds

We are in the process of adding support for building and running utility tasks with grunt.js. At some point these will replace the current build scripts.

To use these, you must be running a recent version of npm, necessarily greater than 1.4. If you need to upgrade npm you can issue the following command:

npm install -g npm

To build the GPII for Windows using grunt, perform the following:

git clone https://github.com/GPII/windows.git
cd windows
npm install
grunt build

Note that whenever you run the npm install task for this project, you must use the option appearing above.

Old Builds

This project is still bundled with command-line build scripts (with the same effect as the above grunt builds) - support for these will be withdrawn soon. You can operate these as follows:

Test VM

It is possible to provision a Windows VM for testing purposes. Please ensure you have met these VM requirements before proceeding. After that you can use the vagrant up command to create an instance of a Windows 10 Evaluation VM which will boot an instance of the Windows 10 VM, pull in the GPII Framework's npm dependencies, and then build it.

If this is your first time creating this VM an 8 GB download will take place. The downloaded image will be valid for 90 days after which the Windows installation will no longer be useable. To remove an expired image you can use the vagrant box remove "inclusivedesign/windows10-eval" command.

Once the VM has finished booting up you will need to type the vagrant reload command to cause it to restart. This is required so changes made to the Windows VM's PATH environment variable as part of the provisioning process are available in terminal sessions. This step is a temporary workaround and will be removed in the near future.

Now you can open a command prompt window and use the following commands to test the framework:

cd c:\vagrant
node tests\UnitTests.js
node tests\AcceptanceTests.js builtIn

About

Windows-specific code for the GPII realtime framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 70.6%
  • C++ 25.0%
  • Inno Setup 1.7%
  • JavaScript 1.5%
  • Batchfile 0.6%
  • Objective-C 0.3%
  • Shell 0.3%