Giter Club home page Giter Club logo

temps-lite-rust's Introduction

temps-lite (Rust)

Rust port of temps-lite.

It has served its purpose as a testing ground and is now archived.

Usage

The folder locale is not packed into the executable and must be included with it in order to run. This is to allow extending locale support without having to rebuild.

Compiling for Linux

Before running cargo build --release, please be aware of some Windows-specific things.

#![windows_subsystem="windows"]

I'm not sure if this is safe to leave or must be commented out or deleted. It's purpose is to hide the console window.

if cfg!(target_os = "windows") {
Command::new("packfolder")
  .args(&["app", "target/assets.rc", "-binary"])
  .output()
  .expect("Unable to run packfolder.exe!");
  WindowsResource::new()
    .set_icon("icon.ico")
    .compile();
}

This way of setting the icon is of course incompatible with Linux. Also, the call to packfolder.exe should be replaced with the equivalent of calling the packfolder.

Also, this application requires the library corresponding to your version of Linux to be either in PATH (not sure if they have that on Linux) or in the same folder. They can be found here.

temps-lite-rust's People

Contributors

4silvertooth avatar girkovarpa avatar papioara avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.