Squirrel.Windows

一个 Windows 桌面应用程序的安装和更新框架。(An installation and update framework for Windows desktop apps)

Github stars Tracking Chart

需要捐助人

我们正在寻求帮助维护这个重要的项目 -- 请阅读 #1470 的讨论以获得更多信息。

Squirrel(松鼠)。它就像 ClickOnce,但却能工作™。

Squirrel 既是一套工具,也是一个库,可以完全管理你的桌面 Windows 应用程序的安装和更新,无论是 C# 还是其他语言编写的应用程序(即,Squirrel 可以管理本地 C++ 应用程序)。

Squirrel 使用 NuGet 包来创建安装和更新包,这意味着你可能已经知道创建安装程序所需要的大部分内容。

我们想要什么?

Windows 应用应该像 Google Chrome 这样的应用一样快速、轻松地安装和更新。从应用开发者的角度来看,为我的应用创建一个安装程序并发布更新应该是非常直接的,而不需要跳过疯狂的圈子。

集成一个应用来使用 Squirrel 应该是非常容易的,提供一个客户端 API,并且对开发者友好。

  • 打包真的很简单,可以自动化,支持 delta 更新包。
  • 分发应该是直接的,使用简单的 HTTP 更新,并提供多种 "渠道"(如 Chrome Dev/Beta/Release)。
  • 安装是 Wizard-Free™,没有 UAC 对话框,不需要重启,并且对 .NET 框架友好。
  • 更新是在后台进行的,不会打断用户,也不需要重启。

请参考我们关于 集成、打包、分发、安装和更新 的完整目标列表。

文档

请参阅 文档目录,查看Squirrel.Windows的可用文档。它包括 入门指南 以及与在应用程序中使用 Squirrel 相关的其他主题。

构建 Squirrel

对于没有耐心的人来说。

git clone --recursive https://github.com/squirrel/squirrel.windows
cd squirrel.windows
.\.NuGet\NuGet.exe restore
msbuild /p:Configuration=Release

请参阅 贡献 以获得更多关于构建和贡献于 Squirrel 的信息。

许可和使用

关于 Squirrel.Windows 软件的版权和使用情况,请参见 COPYING


Main metrics

Overview
Name With OwnerSquirrel/Squirrel.Windows
Primary LanguageC++
Program languageC (Language Count: 4)
PlatformWindows
License:MIT License
所有者活动
Created At2014-07-28 10:10:39
Pushed At2024-07-24 10:06:45
Last Commit At2022-11-12 05:40:17
Release Count65
Last Release Name2.0.1 (Posted on 2020-09-27 22:01:14)
First Release Name0.5.0 (Posted on 2014-09-26 17:15:29)
用户参与
Stargazers Count7.7k
Watchers Count234
Fork Count1k
Commits Count1.4k
Has Issues Enabled
Issues Count1380
Issue Open Count362
Pull Requests Count301
Pull Requests Open Count54
Pull Requests Close Count116
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
README.md

Contributors Needed

We are looking for help with maintaining this important project - please read the discussion in #1470 for more information.


Squirrel: It's like ClickOnce but Works™

Build Status

Squirrel is both a set of tools and a library, to completely manage both installation and updating your Desktop Windows application, written in either C# or any other language (i.e., Squirrel can manage native C++ applications).

Squirrel uses NuGet packages to create installation and update packages, which means that you probably already know most of what you need to create an installer.

What Do We Want?

Windows apps should be as fast and as easy to install and update as apps like Google Chrome. From an app developer's side, it should be really straightforward to create an installer for my app, and publish updates to it, without having to jump through insane hoops.

  • Integrating an app to use Squirrel should be extremely easy, provide a client API, and be developer friendly.
  • Packaging is really easy, can be automated, and supports delta update packages.
  • Distributing should be straightforward, use simple HTTP updates, and provide multiple "channels" (a-la Chrome Dev/Beta/Release).
  • Installing is Wizard-Free™, with no UAC dialogs, does not require reboot, and is .NET Framework friendly.
  • Updating is in the background, doesn't interrupt the user, and does not require a reboot.

Refer to our full list of goals for integrating, packaging, distributing, installing, and updating.

Documentation

See the documentation Table of Contents for an overview of the available documentation for Squirrel.Windows. It includes a Getting Started Guide as well as additional topics related to using Squirrel in your applications.

Building Squirrel

For the impatient:

git clone --recursive https://github.com/squirrel/squirrel.windows
cd squirrel.windows
.\.NuGet\NuGet.exe restore
msbuild /p:Configuration=Release

See Contributing for additional information on building and contributing to Squirrel.

License and Usage

See COPYING for details on copyright and usage of the Squirrel.Windows software.